mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-01 11:00:26 +00:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57511bcdf8 | ||
|
|
3e6878659c | ||
|
|
36ef4183e0 | ||
|
|
f8160e318c | ||
|
|
ed177b998a | ||
|
|
9d712fde38 | ||
|
|
e1a30d200a | ||
|
|
9046354ba3 | ||
|
|
3a4f3eb15a | ||
|
|
c68a3869eb | ||
|
|
e5f52f3480 |
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -141,6 +141,26 @@ jobs:
|
||||
fi
|
||||
if: matrix.bash != 'cygwin' && matrix.os != 'windows-11-arm'
|
||||
|
||||
test-alias:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@v1
|
||||
# cross attempts to install rust-src when Cargo.toml is available even if `cross --version`
|
||||
- run: rm -- Cargo.toml
|
||||
- run: env
|
||||
- uses: ./
|
||||
with:
|
||||
tool: nextest,taplo-cli
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Test bash
|
||||
run: cargo-nextest nextest --version && taplo --version
|
||||
shell: bash
|
||||
- name: Test sh
|
||||
run: cargo-nextest nextest --version && taplo --version
|
||||
shell: sh
|
||||
|
||||
test-container:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
19
CHANGELOG.md
19
CHANGELOG.md
@@ -10,6 +10,20 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.59.1] - 2025-09-06
|
||||
|
||||
- Update `release-plz@latest` to 0.3.143.
|
||||
|
||||
## [2.59.0] - 2025-09-05
|
||||
|
||||
- Accept `taplo-cli` as an alias for `taplo`. ([#1128](https://github.com/taiki-e/install-action/pull/1128), thanks @arctic-alpaca)
|
||||
|
||||
## [2.58.33] - 2025-09-05
|
||||
|
||||
- Update `wasm-bindgen@latest` to 0.2.101.
|
||||
|
||||
- Update `typos@latest` to 1.36.2.
|
||||
|
||||
## [2.58.32] - 2025-09-04
|
||||
|
||||
- Update `typos@latest` to 1.36.1.
|
||||
@@ -4398,7 +4412,10 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.58.32...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.59.1...HEAD
|
||||
[2.59.1]: https://github.com/taiki-e/install-action/compare/v2.59.0...v2.59.1
|
||||
[2.59.0]: https://github.com/taiki-e/install-action/compare/v2.58.33...v2.59.0
|
||||
[2.58.33]: https://github.com/taiki-e/install-action/compare/v2.58.32...v2.58.33
|
||||
[2.58.32]: https://github.com/taiki-e/install-action/compare/v2.58.31...v2.58.32
|
||||
[2.58.31]: https://github.com/taiki-e/install-action/compare/v2.58.30...v2.58.31
|
||||
[2.58.30]: https://github.com/taiki-e/install-action/compare/v2.58.29...v2.58.30
|
||||
|
||||
2
TOOLS.md
2
TOOLS.md
@@ -73,7 +73,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho
|
||||
| [**valgrind**](https://valgrind.org/) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0](https://sourceware.org/git/?p=valgrind.git;a=blob;f=COPYING;hb=HEAD) |
|
||||
| [**wait-for-them**](https://github.com/shenek/wait-for-them) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/shenek/wait-for-them/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/shenek/wait-for-them/blob/v0.4.0/Cargo.toml#L7) |
|
||||
| [**wash**](https://github.com/wasmCloud/wasmCloud) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/wasmCloud/wasmCloud/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/wasmCloud/wasmCloud/blob/main/LICENSE) |
|
||||
| [**wasm-bindgen**](https://github.com/rustwasm/wasm-bindgen) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-bindgen/releases) | Linux, macOS, Windows | [MIT](https://github.com/rustwasm/wasm-bindgen/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/rustwasm/wasm-bindgen/blob/main/LICENSE-APACHE) |
|
||||
| [**wasm-bindgen**](https://github.com/wasm-bindgen/wasm-bindgen) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/wasm-bindgen/wasm-bindgen/releases) | Linux, macOS, Windows | [MIT](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-APACHE) |
|
||||
| [**wasm-pack**](https://github.com/rustwasm/wasm-pack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-pack/releases) | Linux, macOS, Windows | [MIT](https://github.com/rustwasm/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/rustwasm/wasm-pack/blob/master/LICENSE-APACHE) |
|
||||
| [**wasmtime**](https://github.com/bytecodealliance/wasmtime) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bytecodealliance/wasmtime/releases) | Linux, macOS, Windows | [Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE) |
|
||||
| [**xbuild**](https://github.com/rust-mobile/xbuild) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-mobile/xbuild/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/v0.2.0/xbuild/Cargo.toml#L7) |
|
||||
|
||||
10
main.sh
10
main.sh
@@ -219,7 +219,7 @@ read_manifest() {
|
||||
if [[ "${rust_crate}" != "null" ]]; then
|
||||
# TODO: don't hardcode tool name and use 'immediate_yank_reflection' field in base manifest.
|
||||
case "${tool}" in
|
||||
cargo-nextest | nextest)
|
||||
cargo-nextest)
|
||||
crate_info=$(curl -v --user-agent "${ACTION_USER_AGENT}" --proto '=https' --tlsv1.2 -fsSL --retry 10 "https://crates.io/api/v1/crates/${rust_crate}" || true)
|
||||
if [[ -n "${crate_info}" ]]; then
|
||||
while true; do
|
||||
@@ -258,7 +258,7 @@ read_manifest() {
|
||||
elif [[ "${host_env}" == "gnu" ]]; then
|
||||
# TODO: don't hardcode tool name and use 'prefer_linux_gnu' field in base manifest.
|
||||
case "${tool}" in
|
||||
cargo-nextest | nextest)
|
||||
cargo-nextest)
|
||||
# TODO: don't hardcode required glibc version
|
||||
required_glibc_version=2.27
|
||||
higher_glibc_version=$(LC_ALL=C sort -Vu <<<"${required_glibc_version}"$'\n'"${host_glibc_version}" | tail -1)
|
||||
@@ -743,9 +743,11 @@ for tool in "${tools[@]}"; do
|
||||
continue
|
||||
;;
|
||||
*)
|
||||
# Handle aliases
|
||||
# Handle aliases.
|
||||
# NB: Update alias list in tools/publish.rs.
|
||||
case "${tool}" in
|
||||
cargo-nextest | nextest) tool=cargo-nextest ;;
|
||||
nextest) tool=cargo-nextest ;;
|
||||
taplo-cli) tool=taplo ;;
|
||||
esac
|
||||
|
||||
# Use cargo-binstall fallback if tool is not available.
|
||||
|
||||
30
manifests/release-plz.json
generated
30
manifests/release-plz.json
generated
@@ -22,10 +22,36 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/release-plz/release-plz/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/release-plz/release-plz/blob/main/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "0.3.142"
|
||||
"version": "0.3.143"
|
||||
},
|
||||
"0.3": {
|
||||
"version": "0.3.142"
|
||||
"version": "0.3.143"
|
||||
},
|
||||
"0.3.143": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DDECC3053DBBA9",
|
||||
"checksum": "9be8e50d6fe546a1536f40a927f923feb2396f3f7c6bb6d6ab458143c7b3eae6"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DDECC4AFCD9450",
|
||||
"checksum": "0bbe8f8289ee9bde988abd283cf87cf84dc94709c3389389f984ccbd6aaecd37"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DDECC39F5DC74B",
|
||||
"checksum": "5ea2a9a18b1a16f0ecd94fdcf12dd489ed7f5314ffe1ae383fe58206d89f23fe"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DDECC3203DB19E",
|
||||
"checksum": "318e25cf1ded370b53cf51d4be06f1b504b0eda5a89ab38fe3cf8b788c7b0d74"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DDECC44F15EAAA",
|
||||
"checksum": "8f1e83f44addebaca9067652738f9fb1c131c9ad51cf321bc26a34b8f2751086"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DDECC3A34D01E2",
|
||||
"checksum": "63a953d3496494c84a05725dd324a5ca0d1aa7f78403e35a38a889e8b097f77f"
|
||||
}
|
||||
},
|
||||
"0.3.142": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
28
manifests/typos.json
generated
28
manifests/typos.json
generated
@@ -19,13 +19,35 @@
|
||||
},
|
||||
"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.36.1"
|
||||
"version": "1.36.2"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.36.1"
|
||||
"version": "1.36.2"
|
||||
},
|
||||
"1.36": {
|
||||
"version": "1.36.1"
|
||||
"version": "1.36.2"
|
||||
},
|
||||
"1.36.2": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DDEBBE969BBA15",
|
||||
"checksum": "d255f509aca7d43a50854cdc5ea94480b13918459992e3b5f2d0d8c4eadddb49"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DDEBBE85B9E59F",
|
||||
"checksum": "07ed2a25be9d1cfede6aaa93b7758fdc939530c454efff35cf4e6ca51f0b12f2"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DDEBBEB2642E46",
|
||||
"checksum": "7079d16d4d19f973e6f8d45f61ea53c3c7d0d73285d85d5b180d1e384eb0ae12"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DDEBBE63A89ACC",
|
||||
"checksum": "2259a6cb7f22271b928f7af9205045e46ead98004a0757df87916f91d4e6b35c"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DDEBBE89D6DB63",
|
||||
"checksum": "c784cdb37d9bcfe347a161889edb28bb07e24fe5828bac14bdd42a071ea6c983"
|
||||
}
|
||||
},
|
||||
"1.36.1": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
38
manifests/wasm-bindgen.json
generated
38
manifests/wasm-bindgen.json
generated
@@ -2,7 +2,7 @@
|
||||
"rust_crate": "wasm-bindgen-cli",
|
||||
"template": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/rustwasm/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-x86_64-unknown-linux-musl.tar.gz",
|
||||
"url": "https://github.com/wasm-bindgen/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-x86_64-unknown-linux-musl.tar.gz",
|
||||
"bin": [
|
||||
"wasm-bindgen-${version}-x86_64-unknown-linux-musl/wasm-bindgen-test-runner",
|
||||
"wasm-bindgen-${version}-x86_64-unknown-linux-musl/wasm-bindgen",
|
||||
@@ -10,7 +10,7 @@
|
||||
]
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/rustwasm/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-x86_64-apple-darwin.tar.gz",
|
||||
"url": "https://github.com/wasm-bindgen/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-x86_64-apple-darwin.tar.gz",
|
||||
"bin": [
|
||||
"wasm-bindgen-${version}-x86_64-apple-darwin/wasm-bindgen-test-runner",
|
||||
"wasm-bindgen-${version}-x86_64-apple-darwin/wasm-bindgen",
|
||||
@@ -18,7 +18,7 @@
|
||||
]
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/rustwasm/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-x86_64-pc-windows-msvc.tar.gz",
|
||||
"url": "https://github.com/wasm-bindgen/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-x86_64-pc-windows-msvc.tar.gz",
|
||||
"bin": [
|
||||
"wasm-bindgen-${version}-x86_64-pc-windows-msvc/wasm-bindgen-test-runner.exe",
|
||||
"wasm-bindgen-${version}-x86_64-pc-windows-msvc/wasm-bindgen.exe",
|
||||
@@ -26,7 +26,7 @@
|
||||
]
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"url": "https://github.com/rustwasm/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-aarch64-unknown-linux-gnu.tar.gz",
|
||||
"url": "https://github.com/wasm-bindgen/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-aarch64-unknown-linux-gnu.tar.gz",
|
||||
"bin": [
|
||||
"wasm-bindgen-${version}-aarch64-unknown-linux-gnu/wasm-bindgen-test-runner",
|
||||
"wasm-bindgen-${version}-aarch64-unknown-linux-gnu/wasm-bindgen",
|
||||
@@ -34,7 +34,7 @@
|
||||
]
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/rustwasm/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-aarch64-apple-darwin.tar.gz",
|
||||
"url": "https://github.com/wasm-bindgen/wasm-bindgen/releases/download/${version}/wasm-bindgen-${version}-aarch64-apple-darwin.tar.gz",
|
||||
"bin": [
|
||||
"wasm-bindgen-${version}-aarch64-apple-darwin/wasm-bindgen-test-runner",
|
||||
"wasm-bindgen-${version}-aarch64-apple-darwin/wasm-bindgen",
|
||||
@@ -42,12 +42,34 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/rustwasm/wasm-bindgen/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/rustwasm/wasm-bindgen/blob/main/LICENSE-APACHE)",
|
||||
"license_markdown": "[MIT](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/wasm-bindgen/wasm-bindgen/blob/main/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "0.2.100"
|
||||
"version": "0.2.101"
|
||||
},
|
||||
"0.2": {
|
||||
"version": "0.2.100"
|
||||
"version": "0.2.101"
|
||||
},
|
||||
"0.2.101": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DDEBE7F1C3B213",
|
||||
"checksum": "f36a778bb0bdc5b04f6c6070ba7d0c51546a6ac7104aee302136894ac52f9e62"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DDEBE7F1BCB514",
|
||||
"checksum": "dca64a0bc977841dec33179574646c93588665cff432d9cb00d52efbc055af2e"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DDEBE7F1B73CF2",
|
||||
"checksum": "295329de5afbc3ff6e030648cfab3955357ad3053fae61e95b0726a032b34ce0"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"etag": "0x8DDEBE7F1B19E05",
|
||||
"checksum": "2f3412826df717a4a54ae8b245aa37a80508dbe79931b3d072e4c9858d5787af"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DDEBE7F1BBCBBA",
|
||||
"checksum": "97335e2cb57f4d099cad6456979cc56072179a23f2fdd145ca966b50e751eca8"
|
||||
}
|
||||
},
|
||||
"0.2.100": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-${rust_target}.tar.gz",
|
||||
"version_range": "> 1.0.5",
|
||||
"broken": ["2.0.0", "2.0.1"],
|
||||
"broken": ["2.0.0", "2.0.1", "2.0.2"],
|
||||
"platform": {
|
||||
"x86_64_linux_gnu": {},
|
||||
"x86_64_macos": {},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"repository": "https://github.com/rustwasm/wasm-bindgen",
|
||||
"repository": "https://github.com/wasm-bindgen/wasm-bindgen",
|
||||
"tag_prefix": "",
|
||||
"rust_crate": "wasm-bindgen-cli",
|
||||
"version_range": ">= 0.2.88",
|
||||
|
||||
@@ -133,9 +133,13 @@ for tool in tools/codegen/base/*.json; do
|
||||
tool="${tool##*/}"
|
||||
tools+=("${tool%.*}")
|
||||
done
|
||||
# Alias
|
||||
tools+=(nextest)
|
||||
# Not manifest-based
|
||||
# Aliases.
|
||||
# NB: Update case for aliases in main.rs.
|
||||
tools+=(
|
||||
nextest
|
||||
taplo-cli
|
||||
)
|
||||
# Non-manifest-based tools.
|
||||
tools+=(valgrind)
|
||||
|
||||
for tool in "${tools[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user