]> 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>
Wed, 22 Nov 2023 21:48:13 +0000 (22:48 +0100)
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

.github/workflows/builder.yml

index 4c227bca28127e28c1cfdd1fa8d4a23b89434ac7..0904dc8631c7c582193841bd6ee72eba627b9e3d 100644 (file)
@@ -35,7 +35,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