Skip to content

Commit

Permalink
First update the config, then run the script
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazs-flare committed Oct 4, 2023
1 parent 883434e commit 23ebcdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit 23ebcdd

Please sign in to comment.