Skip to content

Commit a217fa1

Browse files
committed
chore: add crate publish workflow for pyth-lazer-client
1 parent 5ef46e4 commit a217fa1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish Rust package pyth-lazer-client to crates.io
2+
3+
on:
4+
push:
5+
tags:
6+
- rust-pyth-lazer-client-v*
7+
jobs:
8+
publish-pyth-lazer-sdk:
9+
name: Publish Rust package pyth-lazer-client to crates.io
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout sources
13+
uses: actions/checkout@v2
14+
15+
- run: cargo publish --token ${CARGO_REGISTRY_TOKEN}
16+
env:
17+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
18+
working-directory: "lazer/sdk/rust/client"

0 commit comments

Comments
 (0)