From 23ebcddaa11fe240fe25452a9db0ea2290911843 Mon Sep 17 00:00:00 2001 From: "Aljaz S." <117018081+aljazs-flare@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:10:48 +0000 Subject: [PATCH] First update the config, then run the script --- .github/workflows/scheduled.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 5c8863e..5d72630 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -21,8 +21,6 @@ jobs: node-version: 20 - name: Install node modules run: yarn install --frozen-lockfile - - name: Run process-staking-rewards - run: yarn run process-staking-rewards - name: Calculate current epoch if: "${{ github.event.inputs.first_reward_epoch == '' }}" run: | @@ -34,6 +32,8 @@ jobs: jq --arg epoch "${{ github.event.inputs.first_reward_epoch }}" '.FIRST_REWARD_EPOCH = $epoch' configs/networks/flare.json > configs/networks/flare.json - name: Print out flare.json run: cat configs/networks/flare.json + - name: Run process-staking-rewards + run: yarn run process-staking-rewards - name: Archive code coverage results uses: actions/upload-artifact@v3 with: