Skip to content

Commit 80902f3

Browse files
committed
Revert "ci(release): use the cargo publish --workspace directly (#13943)"
`cargo publish --workspace` errors out when a crate is already published, `cargo-release-oxc` does not. We sometimes need to retry the whole publishing process when crates are published partially. This reverts commit 3ade441.
1 parent 2dc8adb commit 80902f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/prepare_release_crates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
cache-key: warm
2121
tools: cargo-release-oxc
2222
- run: cargo ck
23-
- run: cargo publish --workspace --dry-run
23+
- run: cargo release-oxc publish --release crates --dry-run
2424

2525
prepare:
2626
needs: check

.github/workflows/release_crates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
env:
4343
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
4444
run: |
45-
cargo publish --workspace
45+
cargo release-oxc publish --release crates
4646
echo "TAG=$(cat ./target/OXC_VERSION)" >> $GITHUB_OUTPUT
4747
4848
- name: Tag and Push

0 commit comments

Comments
 (0)