Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lubkoll committed Sep 3, 2024
1 parent 3b83f60 commit 50d89e0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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: Generate Cargo.lock
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/"
artifactErrorsFailBuild: "true"
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: compiled-contracts
path: smart-contracts/osmosis/artifacts
2 changes: 1 addition & 1 deletion smart-contracts/osmosis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
resolver = "2"

members = ["contracts/*", "packages/*"]
members = ["contracts/merkle-incentives", "packages/*"]

[workspace.dependencies]
# CosmWasm
Expand Down

0 comments on commit 50d89e0

Please sign in to comment.