Skip to content

Commit

Permalink
fix: Reset anchor step in publish workflow (#737)
Browse files Browse the repository at this point in the history
* Reset anchor step in publish workflow but avoid publishing in cargo fiels

* bump version

Signed-off-by: Melisa Guevara <[email protected]>

---------

Signed-off-by: Melisa Guevara <[email protected]>
  • Loading branch information
melisaguevara authored Nov 8, 2024
1 parent 8845e27 commit 92321c9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
id: release
uses: manovotny/[email protected]
# Setup Anchor to enable compilation and export of Solana programs
# - name: Setup Anchor & Build
# uses: metadaoproject/setup-anchor@v2
# with:
# anchor-version: "0.30.1"
# solana-cli-version: "1.18.21"
# node-version: "20.17.0"
# run: anchor build
- name: Setup Anchor & Build
uses: metadaoproject/setup-anchor@v2
with:
anchor-version: "0.30.1"
solana-cli-version: "1.18.21"
node-version: "20.17.0"
- run: anchor build
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@across-protocol/contracts",
"version": "3.0.14",
"version": "3.0.15",
"author": "UMA Team",
"license": "AGPL-3.0-only",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion programs/svm-spoke/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "svm-spoke"
version = "0.1.0"
description = "Created with Anchor"
edition = "2021"

publish = false

[lib]
crate-type = ["cdylib", "lib"]
Expand Down
1 change: 1 addition & 0 deletions programs/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "test"
version = "0.1.0"
description = "Created with Anchor"
edition = "2021"
publish = false

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

0 comments on commit 92321c9

Please sign in to comment.