Skip to content

Commit 1e4a178

Browse files
authored
Merge pull request #35 from devrc-hub/feature/ci-optimization-rebase
ci: Fix release workflow and build
2 parents e8d5f99 + 31599ec commit 1e4a178

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@ jobs:
197197
run: |
198198
cargo package --list --allow-dirty
199199
200+
- name: Build package and publish with --dry-run argument
201+
if: startsWith(github.ref, 'refs/tags/test-release-')
202+
run: |
203+
cargo publish --dry-run --verbose
204+
205+
200206
- name: Build package and publish the crate to crates.io
201207
if: startsWith(github.ref, 'refs/tags/v')
202208
run: |

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ readme = "README.md"
1111
homepage = "https://github.com/devrc-hub/devrc"
1212
repository = "https://github.com/devrc-hub/devrc"
1313

14-
include = ["src/**/*", "Cargo.toml", "LICENSE", "README.md", "CHANGELOG.md"]
14+
include = ["src/**/*", "Cargo.toml", "LICENSE", "README.md", "CHANGELOG.md", "build.rs"]
1515

1616
build = "build.rs"
1717

0 commit comments

Comments
 (0)