v0.1.12 #13
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 kakarot-ssj-build.zip target/dev | |
- name: Upload artifacts to release | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: kakarot-ssj-build.zip | |
asset_name: kakarot-ssj-build.zip | |
tag: ${{ github.ref_name }} | |
overwrite: true |