cargo-binstall/.github/workflows
Jiahao XU 4599a70839
Fix CI: Dry-run cargo-publish on crate to be published ()
* Fix CI: Dry-run `cargo-publish` on crate to be published

If there's no crate to publish, do not dry-run `cargo-publish`.

Only dry-run `cargo-publish` on crate to be published to avoid
`cargo-publish` error on `cargo-binstall` when one of its direct
dependencies is bumped.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix passing of crate to `release-cli.yml`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix passing of `needs.pr-info.outpus.crate`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix `release-dry-run`: Only run if is release or is not PR event

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix passing of crate

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Rm `just-setup` from `release-cli.yml` since it cannot be cached

release is trigged by the closing of PR, so the cache is saved under the
branch `release/*` which cannot be reused.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix dry-run publish

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-11-11 14:17:16 +00:00
..
cache-cleanup.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
ci.yml Fix CI: Dry-run cargo-publish on crate to be published () 2023-11-11 14:17:16 +00:00
gh-action.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
install-script.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
release-cli.yml Fix CI: Dry-run cargo-publish on crate to be published () 2023-11-11 14:17:16 +00:00
release-packages.yml Fix CI: Use cargo-hack 0.6.10 () 2023-10-20 10:37:54 +00:00
release-pr.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
release.yml Use explicit write permissions () 2023-09-26 21:57:51 +00:00
shellcheck.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00
upgrade-transitive-deps.yml build(deps): bump actions/checkout from 3 to 4 () 2023-09-05 02:10:48 +00:00