Skip to content

ci: update upload artifact action version #296

ci: update upload artifact action version

ci: update upload artifact action version #296

name: Compile and publish Cosmwasm contracts to the GitHub Package Registry
on:
push:
branches:
- main
- 381-fix-cosmwasm-build-issue
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@v4
with:
name: cosmwasm-contracts
path: artifacts