]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove deprecated set-output
authorNick Porter <nick@portercomputing.co.uk>
Fri, 21 Oct 2022 19:23:15 +0000 (20:23 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 21 Oct 2022 21:09:20 +0000 (22:09 +0100)
.github/actions/build-freeradius/action.yml
.github/workflows/ci-deb.yml
.github/workflows/ci-macos.yml
.github/workflows/ci-rpm.yml
.github/workflows/ci-scheduled-fuzzing.yml
.github/workflows/ci.yml

index 5a33fde0d4597e83157b28eb72b9e62f0b02a025..afd13921ef8cacc1f375018f7100cdecec73bd35 100644 (file)
@@ -174,7 +174,7 @@ runs:
       if: ${{ matrix.env.LIBS_ALT == 'yes' }}
       shell: bash
       run: |
-        wget -qO- http://www.openssl.org/source/openssl-$ALT_OPENSSL.tar.gz.sha256 | sed -ne 's/^\s\+/::set-output name=shasum::/p'
+        wget -qO- http://www.openssl.org/source/openssl-$ALT_OPENSSL.tar.gz.sha256 | sed -ne 's/^\s\+/shasum=/p' >> $GITHUB_OUTPUT
 
     - name: 'Restore OpenSSL 3.0 from the cache'
       if: ${{ matrix.env.LIBS_ALT == 'yes' }}
index 5329035c58e8fcfdabae7759e6ad9f03060ff78c..9022b3d04d69da965505cf6e6da2f1774c1b1fb6 100644 (file)
@@ -53,7 +53,7 @@ jobs:
         EOF
           )
         fi
-        echo ::set-output name=matrix::$M
+        echo matrix=$M >> $GITHUB_OUTPUT
 
 
   deb-build:
index 5761b0ef2deb736779a09e0f5755a8f358f43a91..990b16e7ed049e6c381fa7359e8589fdb128ad0f 100644 (file)
@@ -133,7 +133,7 @@ jobs:
       id: opensslshasum
       if: ${{ matrix.env.LIBS_ALT == 'yes' }}
       run: |
-        wget -qO- http://www.openssl.org/source/openssl-$ALT_OPENSSL.tar.gz.sha256 | sed -ne 's/^\s\+/::set-output name=shasum::/p'
+        wget -qO- http://www.openssl.org/source/openssl-$ALT_OPENSSL.tar.gz.sha256 | sed -ne 's/^\s\+/shasum=/p' >> $GITHUB_OUTPUT
 
     - name: 'Restore OpenSSL 3.0 from the cache'
       if: ${{ matrix.env.LIBS_ALT == 'yes' }}
index 6edd4bbb94a5697615a9e9f9bac021a694f43342..aea792043876a94ce5303b9992cf9aac1c068a3d 100644 (file)
@@ -50,7 +50,7 @@ jobs:
         EOF
           )
         fi
-        echo ::set-output name=matrix::$M
+        echo matrix=$M >> $GITHUB_OUTPUT
 
 
   rpm-build:
index 78a0cd29df189fae73ef80150c5114d42a63f2be..91ce6e7a9104fec8d07a0ccc2afebd070d88fcdb 100644 (file)
@@ -85,7 +85,7 @@ jobs:
     - id: starttimestamp
       name: Record run start time
       run: |
-        echo ::set-output name=starttimestamp::`date +%s`
+        echo starttimestamp=`date +%s` >> $GITHUB_OUTPUT
 
     - uses: actions/checkout@v2
       with:
@@ -127,7 +127,7 @@ jobs:
           )
         echo "Matrix:"
         echo "$M"
-        echo ::set-output name=matrix::$M
+        echo matrix=$M >> $GITHUB_OUTPUT
 
 
   fuzzer:
@@ -173,8 +173,8 @@ jobs:
         CORPUSAGE="$((`date +%s` - "$CORPUSCT"))"
         CORPUSDAYS="$(($CORPUSAGE / 86400))"
         echo "$PROTOCOL corpus age is $CORPUSAGE secs ($CORPUSDAYS days)"
-        echo "::set-output name=corpusct::$CORPUSCT"
-        echo "::set-output name=corpusage::$CORPUSAGE"
+        echo "corpusct=$CORPUSCT" >> $GITHUB_OUTPUT
+        echo "corpusage=$CORPUSAGE" >> $GITHUB_OUTPUT
 
     - name: Restore the fuzzer corpus tar file from cache
       uses: actions/cache@v2
@@ -245,7 +245,7 @@ jobs:
           git reset --hard HEAD^
           git clean -fxd
         done
-        echo "::set-output name=commit_id::$(git rev-parse --short HEAD)"
+        echo "commit_id=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
         make -j `nproc`
         make test.unit
 
index c15a38bbf47a0b188f79e41b8f2e3e63be85b611..e8b6409e29df3299fdc27b490c2fb65c0257f9ae 100644 (file)
@@ -274,7 +274,7 @@ jobs:
       - name: "Report whether PERSONAL_ACCESS_TOKEN secret exists"
         id: merge-preflight
         run: |
-          if [ -n "$PERSONAL_ACCESS_TOKEN" ]; then echo "::set-output name=PERSONAL_ACCESS_TOKEN_EXISTS::1"; fi
+          if [ -n "$PERSONAL_ACCESS_TOKEN" ]; then echo "PERSONAL_ACCESS_TOKEN_EXISTS=1" >> $GITHUB_OUTPUT; fi
         env:
           PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
     outputs: