Skip to content

Merge pull request #368 from icon-project/ci/fix-stellar-release-buil… #292

Merge pull request #368 from icon-project/ci/fix-stellar-release-buil…

Merge pull request #368 from icon-project/ci/fix-stellar-release-buil… #292

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