Deploy ethflow on linea (#66) #71
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: artifacts | |
| on: | |
| push: | |
| branches: [main] | |
| tags: | |
| - "**" | |
| - "!**-artifacts" | |
| env: | |
| FOUNDRY_PROFILE: ci | |
| jobs: | |
| artifacts: | |
| name: Artifacts generation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| # This step is required by `generate-artifacts.sh` since it pins an old | |
| # version of the Hardhat package ("[email protected]"). | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18.x' | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - name: Generate artifacts and push as new tag | |
| run: bash .github/scripts/release-artifacts.sh "$GITHUB_REF" |