Skip to content

Commit 21c231b

Browse files
committed
Add publish workflow
1 parent de504eb commit 21c231b

File tree

5 files changed

+27
-6
lines changed

5 files changed

+27
-6
lines changed

.github/workflows/publish.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
publish-tracel-xtask-macros:
10+
uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1
11+
with:
12+
crate: tracel-xtask-macros
13+
secrets: inherit
14+
# --------------------------------------------------------------------------------
15+
publish-tracel-xtask:
16+
uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1
17+
with:
18+
crate: tracel-xtask
19+
needs:
20+
- tracel-xtask-macros
21+
secrets: inherit

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ members = [
1111

1212
[workspace.package]
1313
edition = "2021"
14-
version = "0.1.0"
14+
version = "1.0.0"
1515
license = "MIT OR Apache-2.0"
1616
readme = "README.md"
1717

crates/tracel-xtask/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ regex = { workspace = true }
1616
serde_json = { workspace = true }
1717
strum = { workspace = true }
1818
tracing-subscriber = { workspace = true }
19-
tracel-xtask-macros = { path = "../tracel-xtask-macros", version = "0.1.0" }
19+
tracel-xtask-macros = { path = "../tracel-xtask-macros", version = "1.0.0" }
2020

2121
[dev-dependencies]
2222
rstest = { workspace = true }

xtask/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "xtask"
3-
version = "0.1.0"
3+
version = "1.0.0"
44
edition = "2021"
55

66
[dependencies]

0 commit comments

Comments
 (0)