Skip to content

Add release workflow (#847) #5

Add release workflow (#847)

Add release workflow (#847) #5

Workflow file for this run

name: Create Release
on:
push:
tags:
- 'v*'
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: tests
uses: actions/checkout@v3
- run: cargo install just
working-directory: smart-contracts
- run: cargo check
working-directory: smart-contracts/osmosis
- name: Compile contracts
run: just workspace-optimize
working-directory: smart-contracts/osmosis
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: "smart-contracts/osmosis/artifacts/*.wasm, smart-contracts/osmosis/artifacts/checksums.txt"
artifactErrorsFailBuild: "true"
generateReleaseNotes: "true"