fix: publish workflow (#1532)
* dry run * check * Fix workflows * rexport price feed message
This commit is contained in:
parent
31483a9fc7
commit
a592c6bc33
|
@ -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"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
pub use pythnet_sdk::messages::{
|
||||
FeedId,
|
||||
PriceFeedMessage,
|
||||
};
|
||||
use {
|
||||
crate::{
|
||||
check,
|
||||
|
@ -7,10 +11,6 @@ use {
|
|||
borsh::BorshSchema,
|
||||
*,
|
||||
},
|
||||
pythnet_sdk::messages::{
|
||||
FeedId,
|
||||
PriceFeedMessage,
|
||||
},
|
||||
solana_program::pubkey::Pubkey,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue