Skip to content

Commit 92321c9

Browse files
fix: Reset anchor step in publish workflow (#737)
* 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]>
1 parent 8845e27 commit 92321c9

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
id: release
2424
uses: manovotny/[email protected]
2525
# Setup Anchor to enable compilation and export of Solana programs
26-
# - name: Setup Anchor & Build
27-
# uses: metadaoproject/setup-anchor@v2
28-
# with:
29-
# anchor-version: "0.30.1"
30-
# solana-cli-version: "1.18.21"
31-
# node-version: "20.17.0"
32-
# run: anchor build
26+
- name: Setup Anchor & Build
27+
uses: metadaoproject/setup-anchor@v2
28+
with:
29+
anchor-version: "0.30.1"
30+
solana-cli-version: "1.18.21"
31+
node-version: "20.17.0"
32+
- run: anchor build
3333
# Setup .npmrc file to publish to npm
3434
- uses: actions/setup-node@v3
3535
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@across-protocol/contracts",
3-
"version": "3.0.14",
3+
"version": "3.0.15",
44
"author": "UMA Team",
55
"license": "AGPL-3.0-only",
66
"repository": {

programs/svm-spoke/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "svm-spoke"
33
version = "0.1.0"
44
description = "Created with Anchor"
55
edition = "2021"
6-
6+
publish = false
77

88
[lib]
99
crate-type = ["cdylib", "lib"]

programs/test/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "test"
33
version = "0.1.0"
44
description = "Created with Anchor"
55
edition = "2021"
6+
publish = false
67

78
[lib]
89
crate-type = ["cdylib", "lib"]

0 commit comments

Comments
 (0)