feat: cw cluster connection #328
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: Compile and publish Cosmwasm contracts to the GitHub Package Registry | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths: | |
- contracts/cosmwasm-vm/** | |
- libraries/common/rust/** | |
- .github/workflows/deploy-cosmwasm-contracts.yml | |
jobs: | |
Build: | |
name: Build Cosmasm Contracts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Compile WASM | |
run: | | |
bash ./scripts/optimize-cosmwasm.sh | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: cosmwasm-contracts | |
path: artifacts | |