Add release workflow #1
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
name: Create Release | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install just | |
run: cargo install just | |
working-directory: smart-contracts | |
- name: Compile contracts | |
run: just workspace-optimize | |
working-directory: smart-contracts/osmosis | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: compiled-contracts | |
path: smart-contracts/osmosis/artifacts |