20 lines
524 B
YAML
20 lines
524 B
YAML
name: Publish Pyth SDK for Cosmwasm to crates.io
|
|
|
|
on:
|
|
release:
|
|
types:
|
|
- created
|
|
jobs:
|
|
publish-pyth-sdk-cw:
|
|
name: Publish Pyth SDK CW
|
|
if: ${{ startsWith(github.ref, 'refs/tags/pyth-sdk-cw-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: "target_chains/cosmwasm/pyth-sdk-cw"
|