Compare commits

...

5 Commits

Author SHA1 Message Date
Taiki Endo
4a06140391 Release 2.46.0 2024-12-05 02:29:26 +09:00
Taiki Endo
ffd430fe64 Update changelog 2024-12-05 02:29:05 +09:00
Taiki Endo
0139dfdb65 Set GITHUB_TOKEN for cargo-binstall by default (#556)
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-12-04 23:02:01 +09:00
Taiki Endo
c4bf614c2f Release 2.45.15 2024-12-03 10:56:44 +09:00
Taiki Endo
724f66b4c8 Update typos@latest to 1.28.2 2024-12-03 10:40:35 +09:00
4 changed files with 37 additions and 4 deletions

View File

@@ -10,6 +10,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.46.0] - 2024-12-04
- Improve robustness of `cargo-binstall` fallback. ([#556](https://github.com/taiki-e/install-action/pull/556))
## [2.45.15] - 2024-12-03
- Update `typos@latest` to 1.28.2.
## [2.45.14] - 2024-12-02
- Update `dprint@latest` to 0.47.6.
@@ -3154,7 +3162,9 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.45.14...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.46.0...HEAD
[2.46.0]: https://github.com/taiki-e/install-action/compare/v2.45.15...v2.46.0
[2.45.15]: https://github.com/taiki-e/install-action/compare/v2.45.14...v2.45.15
[2.45.14]: https://github.com/taiki-e/install-action/compare/v2.45.13...v2.45.14
[2.45.13]: https://github.com/taiki-e/install-action/compare/v2.45.12...v2.45.13
[2.45.12]: https://github.com/taiki-e/install-action/compare/v2.45.11...v2.45.12

View File

@@ -46,6 +46,7 @@ runs:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
DEFAULT_GITHUB_TOKEN: ${{ github.token }}
if: runner.os != 'Windows'
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: bash
@@ -53,4 +54,5 @@ runs:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}
INPUT_FALLBACK: ${{ inputs.fallback }}
DEFAULT_GITHUB_TOKEN: ${{ github.token }}
if: runner.os == 'Windows'

View File

@@ -826,6 +826,9 @@ if [[ ${#unsupported_tools[@]} -gt 0 ]]; then
info "install-action does not support ${unsupported_tools[*]}; fallback to cargo-binstall"
IFS=$'\n\t'
install_cargo_binstall
if [[ -z "${GITHUB_TOKEN:-}" ]] && [[ -n "${DEFAULT_GITHUB_TOKEN:-}" ]]; then
export GITHUB_TOKEN="${DEFAULT_GITHUB_TOKEN}"
fi
# By default, cargo-binstall enforce downloads over secure transports only.
# As a result, http will be disabled, and it will also set
# min tls version to be 1.2

24
manifests/typos.json generated
View File

@@ -16,13 +16,31 @@
},
"license_markdown": "[MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE)",
"latest": {
"version": "1.28.1"
"version": "1.28.2"
},
"1": {
"version": "1.28.1"
"version": "1.28.2"
},
"1.28": {
"version": "1.28.1"
"version": "1.28.2"
},
"1.28.2": {
"x86_64_linux_musl": {
"etag": "0x8DD12EA634C9F87",
"checksum": "d06f2be394a828e2b9e429c6053b943974e2a7134ec8cbac3ad1f65c18c75970"
},
"x86_64_macos": {
"etag": "0x8DD12EA7D3ED94E",
"checksum": "c560fa1c63a78ba494a4a9b5618ee16fbbb4a0a9a442cf2e7a668d84627b0c74"
},
"x86_64_windows": {
"etag": "0x8DD12EAACE9FFF7",
"checksum": "c1323d79bbe632d343c1a99cc6fac4c9f89556318d98a7700cee8db6d7aad83b"
},
"aarch64_macos": {
"etag": "0x8DD12EA8380DF76",
"checksum": "69f1f16509fba0c1c87fe3af03a663db18e9a5ead16595f6f278ccd129a2631d"
}
},
"1.28.1": {
"x86_64_linux_musl": {