mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-25 16:50:31 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57511bcdf8 | ||
|
|
3e6878659c | ||
|
|
36ef4183e0 | ||
|
|
f8160e318c | ||
|
|
ed177b998a | ||
|
|
9d712fde38 |
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
|
||||
|
||||
12
CHANGELOG.md
12
CHANGELOG.md
@@ -10,6 +10,14 @@ 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.
|
||||
@@ -4404,7 +4412,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.58.33...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
|
||||
|
||||
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": {
|
||||
|
||||
@@ -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