From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 25 Jul 2023 10:13:28 +0000 (-0400) Subject: Switch from deprecated ::set-output X-Git-Tag: rec-5.0.0-alpha1~89^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13073%2Fhead;p=thirdparty%2Fpdns.git Switch from deprecated ::set-output https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- diff --git a/.github/workflows/build-packages.yml b/.github/workflows/build-packages.yml index 958fed2606..6412075d84 100644 --- a/.github/workflows/build-packages.yml +++ b/.github/workflows/build-packages.yml @@ -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 diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index f0edb1afc0..a81d0be783 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -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 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index a03c005273..25a89a6e96 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -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: |-