name: Publish Rust package pyth-lazer-client to crates.io on: push: tags: - rust-pyth-lazer-client-v* jobs: publish-pyth-lazer-sdk: name: Publish Rust package pyth-lazer-client to crates.io 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: "lazer/sdk/rust/client"