forked from pyth-network/pyth-crosschain
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: prepare Pyth Lazer packages publish (pyth-network#2120)
* chore: prepare lazer js sdk publish * chore: prepare pyth lazer rust packages publish
- Loading branch information
1 parent
5b4abe0
commit 301774b
Showing
7 changed files
with
85 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish Rust package pyth-lazer-solana-contract to crates.io | ||
|
||
on: | ||
push: | ||
tags: | ||
- rust-pyth-lazer-solana-contract-v* | ||
jobs: | ||
publish-pyth-lazer-solana-contract: | ||
name: Publish Rust package pyth-lazer-solana-contract to crates.io | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- run: cargo publish --token ${CARGO_REGISTRY_TOKEN} | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
working-directory: "lazer/contracts/solana/programs/pyth-lazer-solana-contract" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish Rust package pyth-lazer-protocol to crates.io | ||
|
||
on: | ||
push: | ||
tags: | ||
- rust-pyth-lazer-protocol-v* | ||
jobs: | ||
publish-pyth-lazer-protocol: | ||
name: Publish Rust package pyth-lazer-protocol to crates.io | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- run: cargo publish --token ${CARGO_REGISTRY_TOKEN} | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
working-directory: "lazer/sdk/rust/protocol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish Rust package pyth-lazer-sdk to crates.io | ||
|
||
on: | ||
push: | ||
tags: | ||
- rust-pyth-lazer-sdk-v* | ||
jobs: | ||
publish-pyth-lazer-sdk: | ||
name: Publish Rust package pyth-lazer-sdk to crates.io | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v2 | ||
|
||
- run: cargo publish --token ${CARGO_REGISTRY_TOKEN} | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
working-directory: "lazer/sdk/solana" |
4 changes: 3 additions & 1 deletion
4
lazer/contracts/solana/programs/pyth-lazer-solana-contract/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters