Skip to content

Commit

Permalink
Add publish dry run to build on release branches (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Sep 8, 2022
1 parent afcd1e5 commit 1310271
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
- run: cargo hack build --target wasm32-unknown-unknown --profile release
- run: cargo hack --feature-powerset --exclude-features docs build --target ${{ matrix.sys.target }}
- run: cargo hack --feature-powerset --exclude-features docs test --target ${{ matrix.sys.target }}
- if: startsWith(github.head_ref, 'release/')
uses: stellar/actions/rust-workspace-publish-dry-run@main
with:
cargo-package-options: --target ${{ matrix.sys.target }}

docs:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions tests/contract_data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ authors = ["Stellar Development Foundation <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.63"
publish = false

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down

0 comments on commit 1310271

Please sign in to comment.