fix: publish workflow (#1532)

* dry run

* check

* Fix workflows

* rexport price feed message
This commit is contained in:
guibescos 2024-05-01 19:11:25 +01:00 committed by GitHub
parent 31483a9fc7
commit a592c6bc33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 5 deletions

View File

@ -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"

View File

@ -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,
};