]> 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 05:52:55 +0000 (06:52 +0100)
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

.github/workflows/builder.yml

index e9d9f79102c8823e6a98d555d28acb54dd28c98f..c566979eff47d69a5dc3cb6e75c87117063389ee 100644 (file)
@@ -32,7 +32,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