From 27a9aaaedc92b59903d6604e7f71adac58318749 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 3 May 2023 13:09:03 -0400 Subject: [PATCH] chore(ci): update workflow for upcoming deprecation (#27366) Issue number: N/A --------- ## What is the current behavior? `set-output` usage is deprecated in favor of environment files. ## What is the new behavior? - Updates the `test-core-screenshot` workflow to remove `set-output` in favor of environment files. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information --- .github/workflows/actions/test-core-screenshot/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions/test-core-screenshot/action.yml b/.github/workflows/actions/test-core-screenshot/action.yml index 4a1ee2a30a..8686caf579 100644 --- a/.github/workflows/actions/test-core-screenshot/action.yml +++ b/.github/workflows/actions/test-core-screenshot/action.yml @@ -54,7 +54,7 @@ runs: mkdir updated-screenshots cd ../ && rsync -R --progress $(git diff --name-only --cached) core/updated-screenshots if [ -d core/updated-screenshots/core ]; then - echo "::set-output name=hasUpdatedScreenshots::$(echo 'true')" + echo "hasUpdatedScreenshots=$(echo 'true')" >> $GITHUB_OUTPUT cd core/updated-screenshots zip -q -r ../../UpdatedScreenshots${{ inputs.commandModifier }}-${{ inputs.shard }}-${{ inputs.totalShards }}.zip core fi