Skip to content

Commit 9b489ad

Browse files
authored
fix: fix cd bug (#8)
1 parent 604f669 commit 9b489ad

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: CD
33
on:
44
release:
55
types: [published]
6+
workflow_dispatch:
67

78
jobs:
89
publish:

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
~/.cargo/registry/cache/
4444
~/.cargo/git/db/
4545
key: cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
46+
restore-keys: |
47+
cargo-${{ runner.os }}-
4648
4749
- run: cargo install cargo-tarpaulin --locked || true
4850

.releaserc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
{ "type": "style", "release": "patch" },
1414
{ "type": "refactor", "release": "patch" },
1515
{ "type": "perf", "release": "patch" },
16-
{ "type": "test", "release": "patch" }
16+
{ "type": "test", "release": "patch" },
17+
{ "type": "build", "release": "patch" },
18+
{ "type": "ci", "release": "patch" }
1719
]
1820
}
1921
],

0 commit comments

Comments
 (0)