From 142c5020d17aa0e1377aed671a91dd0b5c152469 Mon Sep 17 00:00:00 2001 From: anirudhwarrier <12178754+anirudhwarrier@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:39:14 +0400 Subject: [PATCH] insert key from secret into BASE64_NETWORK_CONFIG --- .github/workflows/ccip-live-network-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ccip-live-network-tests.yml b/.github/workflows/ccip-live-network-tests.yml index 75fc218c5e..265ba2f523 100644 --- a/.github/workflows/ccip-live-network-tests.yml +++ b/.github/workflows/ccip-live-network-tests.yml @@ -145,6 +145,9 @@ jobs: - name: Prepare Base64 TOML override shell: bash run: | + BASE64_NETWORK_CONFIG=$(echo $BASE64_NETWORK_CONFIG | base64 -w 0 -d | sed -e 's/evm_key/${{ secrets.QA_EVM_KEYS }}/g' | base64 -w 0) + echo ::add-mask::$BASE64_NETWORK_CONFIG + echo "BASE64_NETWORK_CONFIG=$BASE64_NETWORK_CONFIG" >> "$GITHUB_ENV" SLACK_USER=$(jq -r '.inputs.slackMemberID' $GITHUB_EVENT_PATH) echo ::add-mask::$SLACK_USER echo "SLACK_USER=$SLACK_USER" >> "$GITHUB_ENV" @@ -248,6 +251,9 @@ jobs: - name: Prepare Base64 TOML override shell: bash run: | + BASE64_NETWORK_CONFIG=$(echo $BASE64_NETWORK_CONFIG | base64 -w 0 -d | sed -e 's/evm_key/${{ secrets.QA_EVM_KEYS }}/g' | base64 -w 0) + echo ::add-mask::$BASE64_NETWORK_CONFIG + echo "BASE64_NETWORK_CONFIG=$BASE64_NETWORK_CONFIG" >> "$GITHUB_ENV" SLACK_USER=$(jq -r '.inputs.slackMemberID' $GITHUB_EVENT_PATH) echo ::add-mask::$SLACK_USER echo "SLACK_USER=$SLACK_USER" >> "$GITHUB_ENV"