]> 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>
Fri, 24 Nov 2023 06:38:14 +0000 (07:38 +0100)
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

.github/workflows/builder.yml

index f43a372ee9fdd81e75b5dfa1145f3b80581bf6ec..86cb7ef8d3a1282469a85ed6f8714f17641824c7 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