Skip to content

Commit

Permalink
ci: fix proposer workflow for rewarder tokens per block
Browse files Browse the repository at this point in the history
  • Loading branch information
diegofigs committed Nov 15, 2024
1 parent afbfadd commit 115ec31
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/rewarder-tokens-per-block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,21 @@ jobs:
rewarderTokensPerBlock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: 16
- run: |
echo MNEMONIC="test test test test test test test test test test test junk" > .env
echo INFURA_API_KEY="test" >> .env
echo ETHERSCAN_API_KEY="test" >> .env
echo AURORA_API_KEY="test" >> .env
node-version: 18
cache: yarn
- run: cp .env.example .env
- run: yarn
- name: Propose pool allocation
env:
SAFE_SIGNER_MNEMONIC: ${{ secrets.SAFE_SIGNER_MNEMONIC }}
SAFE_PROPOSER_PRIVATE_KEY: ${{ secrets.SAFE_OPS_PROPOSER }}
AURORA_API_KEY: ${{ secrets.AURORA_API_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
run: |
yarn
yarn hardhat run scripts/ops/safeRewarderTokensPerBlock.ts --network aurora
run: yarn hardhat run scripts/ops/proposerRewarderTokensPerBlock.ts --network aurora
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Removed rewarderTokensPerBlock.json due to transaction proposed on gnosis safe

0 comments on commit 115ec31

Please sign in to comment.