From 92321c9c95dbdd000a464f69065a9cdb362e5981 Mon Sep 17 00:00:00 2001 From: Melisa Guevara Date: Fri, 8 Nov 2024 13:48:09 -0500 Subject: [PATCH] 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 --------- Signed-off-by: Melisa Guevara --- .github/workflows/publish.yml | 14 +++++++------- package.json | 2 +- programs/svm-spoke/Cargo.toml | 2 +- programs/test/Cargo.toml | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d49dfce2f..d8b919651 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,13 +23,13 @@ jobs: id: release uses: manovotny/github-releases-for-automated-package-publishing-action@v2.0.1 # 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: diff --git a/package.json b/package.json index 7f1f19623..53959f044 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/programs/svm-spoke/Cargo.toml b/programs/svm-spoke/Cargo.toml index a6285a5d2..df751dec1 100644 --- a/programs/svm-spoke/Cargo.toml +++ b/programs/svm-spoke/Cargo.toml @@ -3,7 +3,7 @@ name = "svm-spoke" version = "0.1.0" description = "Created with Anchor" edition = "2021" - +publish = false [lib] crate-type = ["cdylib", "lib"] diff --git a/programs/test/Cargo.toml b/programs/test/Cargo.toml index 6c00010cc..ba5c70757 100644 --- a/programs/test/Cargo.toml +++ b/programs/test/Cargo.toml @@ -3,6 +3,7 @@ name = "test" version = "0.1.0" description = "Created with Anchor" edition = "2021" +publish = false [lib] crate-type = ["cdylib", "lib"]