Skip to content

Commit 55332bc

Browse files
authoredDec 31, 2024
Merge pull request #12 from RecordingTheSmile/dev
fix push action
2 parents 8bc49ca + 8f6e006 commit 55332bc

File tree

6 files changed

+28
-10
lines changed

6 files changed

+28
-10
lines changed
 

‎.github/workflows/main.yml

+17-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
tags:
44
- '*'
5-
5+
66
jobs:
77
check:
88
name: Check and Test
@@ -20,10 +20,20 @@ jobs:
2020
needs: check
2121
runs-on: ubuntu-latest
2222
steps:
23-
- name: Checkout
24-
uses: actions/checkout@v4
25-
- name: Publish to crates.io
26-
run: |
27-
cargo login ${{ secrets.CRATES_TOKEN }}
28-
cargo publish -v
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
- name: Push types to crates.io
26+
working-directory: tokio-scheduler-types
27+
run: |
28+
cargo login ${{ secrets.CRATES_TOKEN }}
29+
cargo publish -v
30+
- name: Push macro to crates.io
31+
working-directory: tokio-scheduler-macro
32+
run: |
33+
cargo login ${{ secrets.CRATES_TOKEN }}
34+
cargo publish -v
35+
- name: Publish to crates.io
36+
run: |
37+
cargo login ${{ secrets.CRATES_TOKEN }}
38+
cargo publish -v
2939

‎Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ anyhow = "^1"
2525
parking_lot = "^0"
2626
tracing = "^0"
2727
tokio-util = "^0"
28-
tokio-scheduler-types = { path = 'tokio-scheduler-types' }
29-
tokio-scheduler-macro = { path = 'tokio-scheduler-macro' }
28+
tokio-scheduler-types = { version = "^2" }
29+
tokio-scheduler-macro = { version = "^2" }
3030
inventory = "^0"
3131

3232
[dev-dependencies]

‎tokio-scheduler-macro/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ version = "2.0.0"
44
edition = "2021"
55
description = "Macros for tokio-scheduler-rs"
66
license = "MIT"
7+
readme = "README.MD"
78

89
[lib]
910
proc-macro = true
1011

1112
[dependencies]
1213
syn = { version = "^2", features = ["full"] }
1314
quote = "^1"
14-
tokio-scheduler-types = { path = '../tokio-scheduler-types' }
15+
tokio-scheduler-types = { version = "^2" }
1516
convert_case = { version = "^0" }
1617
proc-macro2 = "^1"
1718

‎tokio-scheduler-macro/README.MD

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# tokio-scheduler-macro
2+
3+
This crate provides a procedural macro for the tokio-scheduler-rs ecosystem.

‎tokio-scheduler-types/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "2.0.0"
44
edition = "2021"
55
description = "Types for tokio-scheduler-rs"
66
license = "MIT"
7+
readme = "README.MD"
78

89
[dependencies]
910
tokio = { version = "^1", features = [] }

‎tokio-scheduler-types/README.MD

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# tokio-scheduler-types
2+
3+
This crate provides the core types and traits for the tokio-scheduler-rs ecosystem.

0 commit comments

Comments
 (0)
Please sign in to comment.