]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Switch from deprecated ::set-output 13073/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Tue, 25 Jul 2023 10:13:28 +0000 (06:13 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Tue, 25 Jul 2023 10:13:28 +0000 (06:13 -0400)
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

.github/workflows/build-packages.yml
.github/workflows/builder.yml
.github/workflows/documentation.yml

index 958fed26063269abda17fa0fd25e9d66b7807714..6412075d84cf160c4a570a8ebcf6ed199304dc84 100644 (file)
@@ -86,7 +86,8 @@ jobs:
       # this builds packages and runs our unit tests (make check)
       - run: IS_RELEASE=${{ inputs.is_release}} builder/build.sh -v -m ${{ inputs.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 as GH artifacts
         uses: actions/upload-artifact@v3
index f0edb1afc0d52a5eb90d70db7f9278945a2ff292..a81d0be78309c528956fd6afcdaa1ca361de8390 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
index a03c005273ea6abda23ffe7d0708eeec9d1a6288..25a89a6e9619ee2ca714fd6eea9a78073cd5b47a 100644 (file)
@@ -22,7 +22,8 @@ jobs:
       - run: inv install-doc-deps-pdf
 
       - id: get-version
-        run: echo "pdns_version=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
+        run: |
+          echo "pdns_version=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
 
       - id: setup-ssh
         run: |-