Skip to content

pyth-sdk-solana-v0.10.1 #23

pyth-sdk-solana-v0.10.1

pyth-sdk-solana-v0.10.1 #23

Workflow file for this run

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"