From 27591426396ee0dd76293e88e7d5ca15b2f2c095 Mon Sep 17 00:00:00 2001 From: trizin <25263018+trizin@users.noreply.github.com> Date: Fri, 29 Sep 2023 14:43:43 +0300 Subject: [PATCH] Update output set --- .github/workflows/check_testnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_testnet.yml b/.github/workflows/check_testnet.yml index f9abbd0c5..2f35b1414 100644 --- a/.github/workflows/check_testnet.yml +++ b/.github/workflows/check_testnet.yml @@ -30,13 +30,13 @@ jobs: PRIVATE_KEY: "0xb23c44b8118eb7a7f70d21b0d20aed9b05d85d22ac6a0e57697c564da1c35554" run: | output=$(python scripts/check_testnet.py | grep -E 'FAIL|WARNING') - echo "::set-output name=output::$output" + echo "output=$output" >> "$GITHUB_OUTPUT" - name: Get Joke from API id: joke run: | joke=$(curl -s https://official-joke-api.appspot.com/jokes/general/random | jq -r '.[0].setup, .[0].punchline') - echo "::set-output name=joke::$joke" + echo "joke=$joke" >> "$GITHUB_OUTPUT" - name: Notify Slack if: steps.script.outputs.output != ''