pyth-sdk-solana-v0.10.1 #23
Workflow file for this run
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
name: Publish Pyth SDK to crates.io | |
on: | |
release: | |
types: | |
- created | |
jobs: | |
publish-pyth-sdk: | |
name: Publish Pyth SDK | |
if: ${{ startsWith(github.ref, 'refs/tags/pyth-sdk-v') }} | |
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: "pyth-sdk" | |
publish-pyth-sdk-solana: | |
name: Publish Pyth SDK Solana | |
if: ${{ startsWith(github.ref, 'refs/tags/pyth-sdk-solana-v') }} | |
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: "pyth-sdk-solana" |