Skip to content

Commit f3c5a60

Browse files
committed
👽 "GitHub Actions: Deprecating save-state and set-output commands"
Ref https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
1 parent 2e2110a commit f3c5a60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_stages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
DOCKER_TAG=$(echo "ghcr.io/${{ github.repository }}/$TAG" | tr '[:upper:]' '[:lower:]')
6767
echo DOCKER_TAG=$DOCKER_TAG >> $GITHUB_ENV
6868
docker manifest inspect $DOCKER_TAG >/dev/null
69-
echo "::set-output name=not_yet_exists::$?"
69+
echo "not_yet_exists=$?" >> $GITHUB_OUTPUT
7070
- name: Set up Docker Buildx
7171
uses: docker/[email protected]
7272
if: contains(steps.changed-files-base.outputs.all_changed_files, matrix.Dockerfile) || contains(steps.changed-files.outputs.all_changed_files, matrix.Dockerfile)
@@ -156,7 +156,7 @@ jobs:
156156
DOCKER_TAG=$(echo "ghcr.io/${{ github.repository }}/$TAG" | tr '[:upper:]' '[:lower:]')
157157
echo DOCKER_TAG=$DOCKER_TAG >> $GITHUB_ENV
158158
docker manifest inspect $DOCKER_TAG >/dev/null
159-
echo "::set-output name=not_yet_exists::$?"
159+
echo "not_yet_exists=$?" >> $GITHUB_OUTPUT
160160
if: contains(steps.changed-files-base.outputs.all_changed_files, matrix.Dockerfile) || contains(steps.changed-files.outputs.all_changed_files, matrix.Dockerfile)
161161
- name: Prep Dockerfiles for forked repository
162162
if: github.repository_owner != 'FCP-INDI' && contains(steps.changed-files-base.outputs.all_changed_files, matrix.Dockerfile) || contains(steps.changed-files.outputs.all_changed_files, matrix.Dockerfile)
@@ -230,7 +230,7 @@ jobs:
230230
DOCKER_TAG=$(echo "ghcr.io/${{ github.repository }}/$TAG" | tr '[:upper:]' '[:lower:]')
231231
echo DOCKER_TAG=$DOCKER_TAG >> $GITHUB_ENV
232232
docker manifest inspect $DOCKER_TAG >/dev/null
233-
echo "::set-output name=not_yet_exists::$?"
233+
echo "not_yet_exists=$?" >> $GITHUB_OUTPUT
234234
id: docker_tag
235235
- name: Clear up some space on runner
236236
if: always() && steps.changed-files-base.outputs.any_changed == 'true' || steps.changed-files.outputs.any_changed == 'true' || steps.docker_tag.not_yet_exists == 1

0 commit comments

Comments
 (0)