From 2bc4078e351bc6f3867524e38d0b5c578b107fb5 Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Mon, 7 Nov 2022 09:31:29 +0100 Subject: [PATCH] ci: update to new output format on GH actions (#2892) --- .github/workflows/contributors.yml | 2 +- .github/workflows/generic_build.yml | 2 +- .github/workflows/generic_publish.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/contributors.yml b/.github/workflows/contributors.yml index 3918852f..761cb58a 100644 --- a/.github/workflows/contributors.yml +++ b/.github/workflows/contributors.yml @@ -49,7 +49,7 @@ jobs: run: | git pull git checkout contributors-update - echo "::set-output name=head_sha::$(git rev-parse contributors-update)" + echo "head_sha=$(git rev-parse contributors-update)" >>"${GITHUB_OUTPUT}" - name: 'Commit Status: Set Lint status to success (skipped)' uses: myrotvorets/set-commit-status-action@1.1.5 diff --git a/.github/workflows/generic_build.yml b/.github/workflows/generic_build.yml index 6d6b3859..9516de67 100644 --- a/.github/workflows/generic_build.yml +++ b/.github/workflows/generic_build.yml @@ -55,7 +55,7 @@ jobs: | awk '{ print $1 }' \ ) - echo "::set-output name=digest::${IMAGE_CHECKSUM}" + echo "digest=${IMAGE_CHECKSUM}" >>"${GITHUB_OUTPUT}" # Attempts to restore the build cache from a prior build run. # If the exact key is not restored, then upon a successful job run diff --git a/.github/workflows/generic_publish.yml b/.github/workflows/generic_publish.yml index 7f39a4c1..7b874e60 100644 --- a/.github/workflows/generic_publish.yml +++ b/.github/workflows/generic_publish.yml @@ -69,7 +69,7 @@ jobs: - name: 'Acquire the image version' id: get-version shell: bash - run: echo "::set-output name=version::$(>"${GITHUB_OUTPUT}" - name: 'Build and publish images' uses: docker/build-push-action@v3.2.0