File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 62
62
- name : cargo test
63
63
run : cargo test --release --all-features
64
64
65
- # Remove this check if you don't use cargo-deny in the repo
66
65
deny-check :
67
66
name : cargo-deny
68
67
runs-on : ubuntu-22.04
@@ -72,19 +71,23 @@ jobs:
72
71
submodules : true
73
72
- uses : EmbarkStudios/cargo-deny-action@v2
74
73
75
- # Remove this check if you don't publish the crate(s) from this repo
76
74
publish-check :
77
75
name : Publish Check
78
76
runs-on : ubuntu-22.04
79
77
steps :
80
78
- uses : actions/checkout@v4
81
79
with :
82
80
submodules : true
83
- - run : cargo fetch
84
- - name : cargo publish check
85
- run : cargo publish --dry-run --manifest-path spirv-tools-sys/Cargo.toml
86
- - name : cargo publish check
87
- run : cargo publish --dry-run --manifest-path Cargo.toml
81
+ - uses : cargo-bins/cargo-binstall@main
82
+ - run : cargo binstall cargo-release
83
+ - run : cargo fetch --locked
84
+ - name : cargo release --workspace
85
+ run : cargo release patch --allow-branch=*
86
+ # cargo release in workspace root doesn't actually run `publish check` on any crate, do so manually
87
+ - name : cargo publish check spirv-tools-sys
88
+ run : cargo release patch --allow-branch=* --manifest-path spirv-tools-sys/Cargo.toml
89
+ - name : cargo publish check spirv-tools
90
+ run : cargo release patch --allow-branch=* --manifest-path spirv-tools/Cargo.toml
88
91
89
92
defaults :
90
93
run :
You can’t perform that action at this time.
0 commit comments