v0.1.3 #4
Workflow file for this run
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
# trunk-ignore-all(checkov/CKV2_GHA_1) | |
name: Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
build-and-upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Scarb | |
uses: software-mansion/setup-scarb@v1 | |
- name: Build contracts | |
run: | | |
scarb build -p contracts | |
- name: Zip dev artifacts | |
run: zip -rj dev-artifacts.zip target/dev | |
- name: Upload artifacts to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: dev-artifacts.zip | |
asset_name: dev-artifacts.zip | |
tag: ${{ github.ref_name }} | |
overwrite: true |