Skip to content

Commit

Permalink
Merge pull request #14 from devanonon/master
Browse files Browse the repository at this point in the history
Release job for ABIs
  • Loading branch information
refcell authored Mar 10, 2022
2 parents c03ebdf + 129c41a commit a1fa064
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
tags:
- 'v*.*.*'
pull_request:

jobs:
Expand All @@ -21,4 +23,14 @@ jobs:
version: nightly

- name: Run Tests
run: FOUNDRY_PROFILE=ci forge test
run: FOUNDRY_PROFILE=ci forge test

- name: Publish ABIs
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
name: ABIs
files: |
./out/Multicall.sol/Multicall.json
./out/Multicall2.sol/Multicall2.json
./out/Multicall3.sol/Multicall3.json

0 comments on commit a1fa064

Please sign in to comment.