mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-28 18:10:26 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10b774e4cd | ||
|
|
d5fae932b8 | ||
|
|
0329ca5b7b | ||
|
|
d1bca82356 |
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.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 +1967,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.31.0...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.31.2...HEAD
|
||||
[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": {
|
||||
|
||||
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