Skip to content

Commit

Permalink
Add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Aug 21, 2024
1 parent de504eb commit 21c231b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: publish

on:
push:
tags:
- "v*"

jobs:
publish-tracel-xtask-macros:
uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1
with:
crate: tracel-xtask-macros
secrets: inherit
# --------------------------------------------------------------------------------
publish-tracel-xtask:
uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1
with:
crate: tracel-xtask
needs:
- tracel-xtask-macros
secrets: inherit
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [

[workspace.package]
edition = "2021"
version = "0.1.0"
version = "1.0.0"
license = "MIT OR Apache-2.0"
readme = "README.md"

Expand Down
2 changes: 1 addition & 1 deletion crates/tracel-xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ regex = { workspace = true }
serde_json = { workspace = true }
strum = { workspace = true }
tracing-subscriber = { workspace = true }
tracel-xtask-macros = { path = "../tracel-xtask-macros", version = "0.1.0" }
tracel-xtask-macros = { path = "../tracel-xtask-macros", version = "1.0.0" }

[dev-dependencies]
rstest = { workspace = true }
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xtask"
version = "0.1.0"
version = "1.0.0"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit 21c231b

Please sign in to comment.