Skip to content

Commit 2bfbe65

Browse files
committed
update release jobs f=with dry run
1 parent 80bdb8c commit 2bfbe65

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,24 @@ jobs:
125125
- name: npm pack dry-run
126126
run: pnpm --filter @clidey/connparse pack --dry-run
127127

128+
- name: npm publish dry-run
129+
working-directory: packages/js
130+
run: npm publish --access public --dry-run
131+
128132
- name: Rust crate dry-run
129-
run: cargo publish --manifest-path packages/rust/Cargo.toml --locked --dry-run
133+
run: cargo publish --manifest-path packages/rust/Cargo.toml --locked --dry-run --allow-dirty
130134

131135
- name: Build Java package
132136
run: mvn -q -f packages/java/pom.xml -DskipTests package
133137

138+
- name: Java release dry-run
139+
run: mvn -q -f packages/java/pom.xml -P release -DskipPublishing=true -Dgpg.skip=true verify
140+
134141
- name: Build Python package
135142
run: |
136-
python -m pip install build==1.5.0
143+
python -m pip install build==1.5.0 twine==6.2.0
137144
python -m build packages/python
145+
python -m twine check packages/python/dist/*
138146
139147
- name: Commit version bump
140148
run: |

0 commit comments

Comments
 (0)