mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-30 10:50:25 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b23c83949c | ||
|
|
16c8e39687 | ||
|
|
10b774e4cd | ||
|
|
d5fae932b8 |
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.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.
|
||||
@@ -1963,7 +1971,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.1...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
|
||||
|
||||
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"
|
||||
|
||||
@@ -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