Skip to content

Commit

Permalink
feat: add test contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
ecPablo committed Jul 20, 2023
1 parent 53975a3 commit 502ea00
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/contracts-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'SC Library - Build Release File'

# **What it does**: Reads the contents of the repo and creates a file listing all relevant smart contracts
# **Why we have it**: To index the smart contracts of the repo for usage with the rest of CLI tooling
# **Who does it impact**: SC Contract Library
on:
release:
types: [published]
permissions:
contents: write
pull-requests: read

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
gen-release:
runs-on: ubuntu-latest
steps:
- id: gen-release
name: 'Generate release.txt'
uses: ecPablo/contracts-artifacts-action@1.0.0
with:
target-path: 'contracts/vendor'
9 changes: 9 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Empty file added contracts/vendor/Mycontract.sol
Empty file.
Empty file.

0 comments on commit 502ea00

Please sign in to comment.