Update from https://github.com/attestate/ERC4973/commit/206fac4eca961… #60
This file contains 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
on: | |
push: | |
branches: [master] | |
name: generate flat file for ethereum/EIPs | |
jobs: | |
check: | |
name: Foundry project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Generate flat file | |
run: forge flatten src/ERC4973.sol > ./assets/ERC4973-flat.sol | |
- name: Update file in repository | |
uses: cpina/github-action-push-to-another-repository@main | |
env: | |
SSH_DEPLOY_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | |
with: | |
source-directory: "assets" | |
destination-github-username: "rugpullindex" | |
destination-repository-name: "ERC4973" | |
user-email: info@rugpullindex.com | |
target-directory: assets | |
target-branch: master |