Skip to content

Commit dff6971

Browse files
authored
feat(pyth-lazer-agent) Publish the agent to crates.io (#2883)
1 parent 0ba8633 commit dff6971

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-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-agent to crates.io
2+
3+
on:
4+
push:
5+
tags:
6+
- pyth-lazer-agent-v*
7+
jobs:
8+
publish-pyth-lazer-protocol:
9+
name: Publish Rust package pyth-lazer-agent 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: "apps/pyth-lazer-agent"

apps/pyth-lazer-agent/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
name = "pyth-lazer-agent"
33
version = "0.3.2"
44
edition = "2024"
5+
description = "Pyth Lazer Agent"
6+
license = "Apache-2.0"
7+
repository = "https://github.com/pyth-network/pyth-crosschain"
58

69
[dependencies]
710
pyth-lazer-publisher-sdk = "0.1.7"

0 commit comments

Comments
 (0)