mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-29 18:40:23 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b23c83949c | ||
|
|
16c8e39687 | ||
|
|
10b774e4cd | ||
|
|
d5fae932b8 | ||
|
|
0329ca5b7b | ||
|
|
d1bca82356 |
17
CHANGELOG.md
17
CHANGELOG.md
@@ -10,6 +10,18 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.31.3] - 2024-03-30
|
||||
|
||||
- Update `git-cliff@latest` to 2.2.0.
|
||||
|
||||
## [2.31.2] - 2024-03-28
|
||||
|
||||
- Fix `cargo-spellcheck` installation bug. ([#428](https://github.com/taiki-e/install-action/pull/428))
|
||||
|
||||
## [2.31.1] - 2024-03-28
|
||||
|
||||
- Update `protoc@latest` to 3.26.1.
|
||||
|
||||
## [2.31.0] - 2024-03-27
|
||||
|
||||
- Support `typos`. ([#422](https://github.com/taiki-e/install-action/pull/422), thanks @jayvdb)
|
||||
@@ -1959,7 +1971,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.31.0...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.31.3...HEAD
|
||||
[2.31.3]: https://github.com/taiki-e/install-action/compare/v2.31.2...v2.31.3
|
||||
[2.31.2]: https://github.com/taiki-e/install-action/compare/v2.31.1...v2.31.2
|
||||
[2.31.1]: https://github.com/taiki-e/install-action/compare/v2.31.0...v2.31.1
|
||||
[2.31.0]: https://github.com/taiki-e/install-action/compare/v2.30.0...v2.31.0
|
||||
[2.30.0]: https://github.com/taiki-e/install-action/compare/v2.29.8...v2.30.0
|
||||
[2.29.8]: https://github.com/taiki-e/install-action/compare/v2.29.7...v2.29.8
|
||||
|
||||
6
manifests/cargo-spellcheck.json
generated
6
manifests/cargo-spellcheck.json
generated
@@ -2,12 +2,10 @@
|
||||
"rust_crate": "cargo-spellcheck",
|
||||
"template": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-unknown-linux-gnu",
|
||||
"bin": "cargo-spellcheck-v${version}-x86_64-unknown-linux-gnu"
|
||||
"url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-unknown-linux-gnu"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-pc-windows-gnu.exe",
|
||||
"bin": "cargo-spellcheck-v${version}-x86_64-pc-windows-gnu.exe"
|
||||
"url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-pc-windows-gnu.exe"
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
|
||||
27
manifests/git-cliff.json
generated
27
manifests/git-cliff.json
generated
@@ -27,10 +27,33 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "2.1.2"
|
||||
"version": "2.2.0"
|
||||
},
|
||||
"2": {
|
||||
"version": "2.1.2"
|
||||
"version": "2.2.0"
|
||||
},
|
||||
"2.2": {
|
||||
"version": "2.2.0"
|
||||
},
|
||||
"2.2.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "5f4c75d60fe2a8160ad5d4f6bd9fa8d7c780272e1cfae0753c83ac20101e898f"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "26d1810e470735a551998f727b87728d9de1b993c14666a018e1f7ba7f5c52da"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "85f55fe0cdcd7de5410d82cb7417051cfe2eb4051ae8b9bb907ee6ce1329efab"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "66697436c1f6581458c95ef5187d725a34f6a1fd94e2a46306f85c92a27f7f8c"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "395d50f2657a0c5425e5c24672f9c5247ec36c57c08f485d2b0050dc81270b22"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"checksum": "11ed1767f0384ed2dc7b37b3f8842ff9a5385fe71ca1811a3615f77b92e2f45f"
|
||||
}
|
||||
},
|
||||
"2.1": {
|
||||
"version": "2.1.2"
|
||||
|
||||
28
manifests/protoc.json
generated
28
manifests/protoc.json
generated
@@ -2,13 +2,35 @@
|
||||
"rust_crate": null,
|
||||
"template": null,
|
||||
"latest": {
|
||||
"version": "3.26.0"
|
||||
"version": "3.26.1"
|
||||
},
|
||||
"3": {
|
||||
"version": "3.26.0"
|
||||
"version": "3.26.1"
|
||||
},
|
||||
"3.26": {
|
||||
"version": "3.26.0"
|
||||
"version": "3.26.1"
|
||||
},
|
||||
"3.26.1": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-x86_64.zip",
|
||||
"checksum": "a7be2928c0454f132c599e25b79b7ad1b57663f2337d7f7e468a1d59b98ec1b0"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-osx-x86_64.zip",
|
||||
"checksum": "febd8821c3a2a23f72f4641471e0ab6486f4fb07b68111490a27a31681465b3c"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-win64.zip",
|
||||
"checksum": "9090d135a1159042b13b4e51b210e40cb820d85a5032a6eca5f9b3ca3bdfb539"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-aarch_64.zip",
|
||||
"checksum": "64a3b3b5f7dac0c8f9cf1cb85b2b1a237eb628644f6bcb0fb8f23db6e0d66181"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-osx-aarch_64.zip",
|
||||
"checksum": "26a29befa8891ecc48809958c909d284f2b9539a2eb47f22cadc631fe6abe8fd"
|
||||
}
|
||||
},
|
||||
"3.26.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-v${version}-${rust_target}",
|
||||
"bin": "${package}-v${version}-${rust_target}",
|
||||
"version_range": ">= 0.13",
|
||||
"platform": {
|
||||
"x86_64_windows": {
|
||||
"asset_name": "${package}-v${version}-x86_64-pc-windows-gnu.exe",
|
||||
"bin": "${package}-v${version}-x86_64-pc-windows-gnu.exe"
|
||||
"asset_name": "${package}-v${version}-x86_64-pc-windows-gnu.exe"
|
||||
},
|
||||
"x86_64_linux_gnu": {}
|
||||
}
|
||||
|
||||
@@ -755,12 +755,16 @@ struct BaseManifest {
|
||||
}
|
||||
impl BaseManifest {
|
||||
fn validate(&self) {
|
||||
if let Some(bin) = &self.bin {
|
||||
for bin in self.bin.iter().chain(self.platform.values().flat_map(|m| &m.bin)) {
|
||||
assert!(!bin.as_slice().is_empty());
|
||||
}
|
||||
for m in self.platform.values() {
|
||||
if let Some(bin) = &m.bin {
|
||||
assert!(!bin.as_slice().is_empty());
|
||||
for bin in bin.as_slice() {
|
||||
let file_name = Path::new(bin).file_name().unwrap().to_str().unwrap();
|
||||
if !self.repository.ends_with("/xbuild") {
|
||||
assert!(
|
||||
!(file_name.contains("${version") || file_name.contains("${rust")),
|
||||
"{bin}"
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user