Compare commits

...

19 Commits

Author SHA1 Message Date
Taiki Endo
ba4b012f19 Release 1.14.2 2022-10-26 02:19:48 +09:00
Taiki Endo
6746ad0324 Update cargo-hack, cargo-minimal-versions, and parse-changelog 2022-10-26 01:20:02 +09:00
Taiki Endo
68642cc590 Release 1.14.1 2022-10-21 10:41:31 +09:00
Taiki Endo
97df8adcf7 Update wasmtime to 2.0.0 2022-10-21 10:30:43 +09:00
Taiki Endo
f021e393f7 Update protoc to 3.21.8 2022-10-19 11:42:45 +09:00
Taiki Endo
0158edbfba Release 1.14.0 2022-10-18 17:34:34 +09:00
Taiki Endo
e3981a6d57 Update changelog 2022-10-18 17:33:52 +09:00
Taiki Endo
1bc9250743 Update gitignore 2022-10-18 17:33:45 +09:00
Jiahao XU
999ba40f44 Bump cargo-binstall to v0.16.0 (#28) 2022-10-18 16:04:12 +09:00
Taiki Endo
b8a856acea Remove repo name from error 2022-10-04 10:05:47 +09:00
Jiahao XU
9f3710a281 Fix main.sh: bail on semver operators (#26)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-10-03 21:02:42 +09:00
Taiki Endo
e85ee51dd0 Update protoc to 3.21.7 2022-09-30 11:37:02 +09:00
Taiki Endo
c35547fc3a Release 1.13.9 2022-09-29 01:12:03 +09:00
Taiki Endo
7e60635127 Update changelog 2022-09-29 01:11:54 +09:00
Colt Frederickson
25db2c0373 Update cargo-binstall to 0.14.0 (#24)
Update to the latest cargo-binstall, which fixes the installation of sccache.
2022-09-29 00:28:38 +09:00
Taiki Endo
eabd84cfdd Revert "Update wasmtime to 1.0.1"
This reverts commit c7aafffa95.

This release currently missing binaries for x86_64 Linux/macOS/Windows.
2022-09-27 11:36:26 +09:00
Taiki Endo
c7aafffa95 Update wasmtime to 1.0.1 2022-09-27 11:28:55 +09:00
Taiki Endo
93c0efda22 Release 1.13.8 2022-09-26 23:35:40 +09:00
Taiki Endo
71ce4c0326 Update cargo-hack to 0.5.21 2022-09-26 23:27:29 +09:00
5 changed files with 44 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ jobs:
# Note: Specifying the version of valgrind is not supported.
# cargo-watch is supported by cargo-binstall (through quickinstall)
- cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog,cargo-udeps,cargo-valgrind,cross,nextest,protoc,shellcheck,shfmt,valgrind,wasm-pack,wasmtime,mdbook,mdbook-linkcheck,cargo-watch
- cargo-hack@0.5.20,cargo-llvm-cov@0.5.0,cargo-minimal-versions@0.1.5,parse-changelog@0.5.1,cargo-udeps@0.1.33,cargo-valgrind@2.1.0,cross@0.2.4,nextest@0.9.11,protoc@3.21.6,shellcheck@0.8.0,shfmt@3.5.1,wasm-pack@0.10.3,wasmtime@1.0.0,mdbook@0.4.21,mdbook-linkcheck@0.7.6,cargo-watch@8.1.1
- cargo-hack@0.5.22,cargo-llvm-cov@0.5.0,cargo-minimal-versions@0.1.7,parse-changelog@0.5.2,cargo-udeps@0.1.33,cargo-valgrind@2.1.0,cross@0.2.4,nextest@0.9.11,protoc@3.21.8,shellcheck@0.8.0,shfmt@3.5.1,wasm-pack@0.10.3,wasmtime@2.0.0,mdbook@0.4.21,mdbook-linkcheck@0.7.6,cargo-watch@8.1.1
# Nextest supports basic version ranges as well
- nextest@0.9
include:

2
.gitignore vendored
View File

@@ -1,3 +1,5 @@
target
Cargo.lock
node_modules
package-lock.json
package.json

View File

@@ -10,6 +10,31 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [1.14.2] - 2022-10-25
- Update `cargo-hack@latest` to 0.5.22.
- Update `cargo-minimal-versions@latest` to 0.1.7.
- Update `parse-changelog@latest` to 0.5.2.
## [1.14.1] - 2022-10-21
- Update `wasmtime@latest` to 2.0.0.
- Update `protoc@latest` to 3.21.8.
## [1.14.0] - 2022-10-18
- Update `protoc@latest` to 3.21.7.
- Update `cargo-binstall@latest` to 0.16.0. ([#28](https://github.com/taiki-e/install-action/pull/28), thanks @NobodyXu)
- Reject semver operators in version. This was not supported even before, but was accidentally accepted in the `cargo-binstall` fallback. ([#26](https://github.com/taiki-e/install-action/pull/26), thanks @NobodyXu)
## [1.13.9] - 2022-09-28
- Update `cargo-binstall@latest` to 0.14.0. ([#24](https://github.com/taiki-e/install-action/pull/24), thanks @coltfred)
## [1.13.8] - 2022-09-26
- Update `cargo-hack@latest` to 0.5.21.
## [1.13.7] - 2022-09-25
- Work around cargo-binstall upgrade issue on Windows. ([#23](https://github.com/taiki-e/install-action/pull/23))
@@ -350,7 +375,12 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.13.7...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.14.2...HEAD
[1.14.2]: https://github.com/taiki-e/install-action/compare/v1.14.1...v1.14.2
[1.14.1]: https://github.com/taiki-e/install-action/compare/v1.14.0...v1.14.1
[1.14.0]: https://github.com/taiki-e/install-action/compare/v1.13.9...v1.14.0
[1.13.9]: https://github.com/taiki-e/install-action/compare/v1.13.8...v1.13.9
[1.13.8]: https://github.com/taiki-e/install-action/compare/v1.13.7...v1.13.8
[1.13.7]: https://github.com/taiki-e/install-action/compare/v1.13.6...v1.13.7
[1.13.6]: https://github.com/taiki-e/install-action/compare/v1.13.5...v1.13.6
[1.13.5]: https://github.com/taiki-e/install-action/compare/v1.13.4...v1.13.5

View File

@@ -39,7 +39,7 @@ To install a specific version, use `@version` syntax:
```yaml
- uses: taiki-e/install-action@v1
with:
tool: cargo-hack@0.5.20
tool: cargo-hack@0.5.22
```
To install multiple tools:

15
main.sh
View File

@@ -80,7 +80,7 @@ host_triple() {
}
install_cargo_binstall() {
# https://github.com/cargo-bins/cargo-binstall/releases
binstall_version="0.13.3"
binstall_version="0.16.0"
install_binstall='1'
if [[ -f "${cargo_bin}/cargo-binstall${exe}" ]]; then
if [[ "$(cargo binstall -V)" == "cargo-binstall ${binstall_version}" ]]; then
@@ -164,6 +164,9 @@ fi
for tool in "${tools[@]}"; do
if [[ "${tool}" == *"@"* ]]; then
version="${tool#*@}"
if [[ ! "${version}" =~ ^([1-9][0-9]*(\.[0-9]+(\.[0-9]+)?)?|0\.[1-9][0-9]*(\.[0-9]+)?|^0\.0\.[0-9]+)(-[0-9A-Za-z\.-]+)?(\+[0-9A-Za-z\.-]+)?$|^latest$ ]]; then
bail "install-action does not support semver operators"
fi
else
version="latest"
fi
@@ -174,13 +177,13 @@ for tool in "${tools[@]}"; do
cargo-hack | cargo-llvm-cov | cargo-minimal-versions | parse-changelog)
case "${tool}" in
# https://github.com/taiki-e/cargo-hack/releases
cargo-hack) latest_version="0.5.20" ;;
cargo-hack) latest_version="0.5.22" ;;
# https://github.com/taiki-e/cargo-llvm-cov/releases
cargo-llvm-cov) latest_version="0.5.0" ;;
# https://github.com/taiki-e/cargo-minimal-versions/releases
cargo-minimal-versions) latest_version="0.1.5" ;;
cargo-minimal-versions) latest_version="0.1.7" ;;
# https://github.com/taiki-e/parse-changelog/releases
parse-changelog) latest_version="0.5.1" ;;
parse-changelog) latest_version="0.5.2" ;;
*) exit 1 ;;
esac
repo="taiki-e/${tool}"
@@ -287,7 +290,7 @@ for tool in "${tools[@]}"; do
;;
protoc)
# https://github.com/protocolbuffers/protobuf/releases
latest_version="3.21.6"
latest_version="3.21.8"
repo="protocolbuffers/protobuf"
case "${version}" in
latest) version="${latest_version}" ;;
@@ -417,7 +420,7 @@ for tool in "${tools[@]}"; do
;;
wasmtime)
# https://github.com/bytecodealliance/wasmtime/releases
latest_version="1.0.0"
latest_version="2.0.0"
repo="bytecodealliance/${tool}"
case "${version}" in
latest) version="${latest_version}" ;;