Skip to content

Commit 96d56c5

Browse files
fix(release): disable CI job for release based on cargo dist
Once again, in trying to release the new version of `patch-hub`, I stumbled upon an error in the CI, this time, with `cargo dist` [1]. As mentioned in this issue [2], `cargo dist` deprecated support to the Ubuntu 20.04 runner, which is the one used in the workflow. I have been attempting to install other versions of `cargo dist`, but it seems that there is an upstream compilation error. Besides, its own online book [3] seems offline for the last days. Due to this, disable CI job for releasing `patch-hub` using `cargo dist`. This doesn't removes the job, just makes it not run at all. The plan in-house a CI job for the release in the future. [1]: https://github.com/kworkflow/patch-hub/actions/runs/15024335425 [2]: actions/runner-images#11101 [3]: https://opensource.axo.dev/cargo-dist/book Signed-off-by: David Tadokoro <[email protected]>
1 parent cc0f47d commit 96d56c5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ permissions:
3737
# If there's a prerelease-style suffix to the version, then the release(s)
3838
# will be marked as a prerelease.
3939
on:
40-
pull_request:
41-
push:
42-
tags:
43-
- '**[0-9]+.[0-9]+.[0-9]+*'
40+
workflow_dispatch:
41+
# pull_request:
42+
# push:
43+
# tags:
44+
# - '**[0-9]+.[0-9]+.[0-9]+*'
4445

4546
jobs:
4647
# Run 'cargo dist plan' (or host) to determine what tasks we need to do

0 commit comments

Comments
 (0)