cargo-binstall/.github
Jiahao XU 4599a70839
Fix CI: Dry-run cargo-publish on crate to be published (#1490)
* 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
..
actions/just-setup CI: Cache zig global_cache to speedup build (#1481) 2023-11-11 07:34:36 +00:00
scripts Fix detect-targets glibc detection (#1421) 2023-09-29 23:46:03 +00:00
workflows Fix CI: Dry-run cargo-publish on crate to be published (#1490) 2023-11-11 14:17:16 +00:00
dependabot.yml Fixed and simplify dependabot configuration (#1357) 2023-09-14 21:51:36 +00:00
FUNDING.yml Add GitHub sponsor for maintainer NobodyXu (#1358) 2023-09-14 14:09:19 +00:00