From ff91fed69df806851da860f4bb7935c5cc6d349c Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Thu, 20 Oct 2022 10:57:48 -0400 Subject: [PATCH] [MISSED MIRROR] Updates GH actions to use GITHUB_OUTPUT (#17032) Missed PR 70633 --- .github/workflows/autowiki.yml | 2 +- .github/workflows/ci_suite.yml | 2 +- .github/workflows/compile_changelogs.yml | 2 +- .github/workflows/gbp.yml | 2 +- .github/workflows/gbp_collect.yml | 2 +- .github/workflows/show_screenshot_test_results.yml | 2 +- .github/workflows/test_merge_bot.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/autowiki.yml b/.github/workflows/autowiki.yml index b782d52ba66f2..0a431d520ba96 100644 --- a/.github/workflows/autowiki.yml +++ b/.github/workflows/autowiki.yml @@ -17,7 +17,7 @@ jobs: run: | unset SECRET_EXISTS if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi - echo "::set-output name=SECRETS_ENABLED::$SECRET_EXISTS" + echo "SECRETS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT - name: Checkout if: steps.secrets_set.outputs.SECRETS_ENABLED uses: actions/checkout@v3 diff --git a/.github/workflows/ci_suite.yml b/.github/workflows/ci_suite.yml index 36e9c21740d7f..55d8ed4b75bee 100644 --- a/.github/workflows/ci_suite.yml +++ b/.github/workflows/ci_suite.yml @@ -90,7 +90,7 @@ jobs: echo "$(ls -mw0 _maps/*.json)" > maps_output.txt sed -i -e s+_maps/+\"+g -e s+.json+\"+g maps_output.txt echo "Maps: $(cat maps_output.txt)" - echo "::set-output name=maps::{\"paths\":[$(cat maps_output.txt)]}" + echo "maps={\"paths\":[$(cat maps_output.txt)]}" >> $GITHUB_OUTPUT run_all_tests: if: "!contains(github.event.head_commit.message, '[ci skip]')" diff --git a/.github/workflows/compile_changelogs.yml b/.github/workflows/compile_changelogs.yml index de9a661df2168..729530927e30d 100644 --- a/.github/workflows/compile_changelogs.yml +++ b/.github/workflows/compile_changelogs.yml @@ -17,7 +17,7 @@ jobs: run: | unset SECRET_EXISTS if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi - echo "::set-output name=ACTIONS_ENABLED::$SECRET_EXISTS" + echo "ACTIONS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT - name: "Setup python" if: steps.value_holder.outputs.ACTIONS_ENABLED uses: actions/setup-python@v1 diff --git a/.github/workflows/gbp.yml b/.github/workflows/gbp.yml index 9c92e5f379dc8..ef782f398143b 100644 --- a/.github/workflows/gbp.yml +++ b/.github/workflows/gbp.yml @@ -13,7 +13,7 @@ jobs: run: | unset SECRET_EXISTS if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi - echo "::set-output name=ACTIONS_ENABLED::$SECRET_EXISTS" + echo "ACTIONS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT - name: Checkout if: steps.value_holder.outputs.ACTIONS_ENABLED uses: actions/checkout@v3 diff --git a/.github/workflows/gbp_collect.yml b/.github/workflows/gbp_collect.yml index dc2af17a12def..a180cb9b8ef4f 100644 --- a/.github/workflows/gbp_collect.yml +++ b/.github/workflows/gbp_collect.yml @@ -15,7 +15,7 @@ jobs: run: | unset SECRET_EXISTS if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi - echo "::set-output name=ACTIONS_ENABLED::$SECRET_EXISTS" + echo "ACTIONS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT - name: Checkout if: steps.value_holder.outputs.ACTIONS_ENABLED uses: actions/checkout@v3 diff --git a/.github/workflows/show_screenshot_test_results.yml b/.github/workflows/show_screenshot_test_results.yml index 3e9125510b7be..61fc397477d34 100644 --- a/.github/workflows/show_screenshot_test_results.yml +++ b/.github/workflows/show_screenshot_test_results.yml @@ -22,7 +22,7 @@ jobs: run: | unset SECRET_EXISTS if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi - echo "::set-output name=SECRETS_ENABLED::$SECRET_EXISTS" + echo "SECRETS_ENABLED=$SECRET_EXISTS" >> $GITHUB_OUTPUT - name: Checkout if: steps.secrets_set.outputs.SECRETS_ENABLED uses: actions/checkout@v3 diff --git a/.github/workflows/test_merge_bot.yml b/.github/workflows/test_merge_bot.yml index 57634ae1f0a55..ebf8928f435df 100644 --- a/.github/workflows/test_merge_bot.yml +++ b/.github/workflows/test_merge_bot.yml @@ -20,7 +20,7 @@ jobs: run: | unset SECRET_EXISTS if [ -n "$ENABLER_SECRET" ]; then SECRET_EXISTS=true ; fi - echo "::set-output name=GET_TEST_MERGES_URL::$SECRET_EXISTS" + echo "GET_TEST_MERGES_URL=$SECRET_EXISTS" >> $GITHUB_OUTPUT - name: Checkout if: steps.secrets_set.outputs.GET_TEST_MERGES_URL uses: actions/checkout@v3