]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Switch from deprecated ::set-output
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Tue, 25 Jul 2023 10:13:28 +0000 (06:13 -0400)
committerromeroalx <alexis.romero@open-xchange.com>
Thu, 23 Nov 2023 16:12:33 +0000 (17:12 +0100)
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

.github/workflows/builder.yml

index 779177490e4624d7c91f7e2cac31dcb31acf3cbe..d53d482b426b360c5b938121b57c532b4e476102 100644 (file)
@@ -33,7 +33,8 @@ jobs:
       # this builds packages and runs our unit test (make check)
       - run: builder/build.sh -v -m ${{ matrix.product }} ${{ matrix.os }}
       - name: Get version number
-        run: 'echo ::set-output name=version::$(readlink builder/tmp/latest)'
+        run: |
+          echo "version=$(readlink builder/tmp/latest)" >> $GITHUB_OUTPUT
         id: getversion
       - name: Upload packages
         uses: actions/upload-artifact@v3