Skip to content

Commit

Permalink
fix: publish workflow (#1532)
Browse files Browse the repository at this point in the history
* dry run

* check

* Fix workflows

* rexport price feed message
  • Loading branch information
guibescos authored May 1, 2024
1 parent 31483a9 commit a592c6b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/publish-pyth-solana-receiver-state.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
profile: minimal

- run: cargo publish --token ${CARGO_REGISTRY_TOKEN}
- run: cargo +stable-x86_64-unknown-linux-gnu publish --token ${CARGO_REGISTRY_TOKEN}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
working-directory: "target_chains/solana/pyth_solana_receiver_sdk"
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
pub use pythnet_sdk::messages::{
FeedId,
PriceFeedMessage,
};
use {
crate::{
check,
Expand All @@ -7,10 +11,6 @@ use {
borsh::BorshSchema,
*,
},
pythnet_sdk::messages::{
FeedId,
PriceFeedMessage,
},
solana_program::pubkey::Pubkey,
};

Expand Down

0 comments on commit a592c6b

Please sign in to comment.