mirror of
https://github.com/taiki-e/install-action
synced 2026-11-30 21:40:20 +00:00
Update iai-callgrind-runner repository url
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"repository": "https://github.com/iai-callgrind/iai-callgrind",
|
||||
"repository": "https://github.com/gungraun/gungraun",
|
||||
"website": "https://gungraun.github.io/gungraun/",
|
||||
"license_markdown": "[Apache-2.0](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-MIT)",
|
||||
"license_markdown": "[Apache-2.0](https://github.com/gungraun/gungraun/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/gungraun/gungraun/blob/main/LICENSE-MIT)",
|
||||
"tag_prefix": "v",
|
||||
"rust_crate": "${package}",
|
||||
"asset_name": "${package}-v${version}-${rust_target}.tar.gz",
|
||||
|
||||
@@ -114,7 +114,12 @@ fn main() {
|
||||
|
||||
if let Some(crate_repository) = info.crate_.repository.clone() {
|
||||
if !crate_repository.to_lowercase().starts_with(&base_info.repository.to_lowercase()) {
|
||||
panic!("repository {crate_repository} from crates.io differs from base manifest");
|
||||
// iai-callgrind-runner has been renamed to gungraun and there is no release as iai-callgrind-runner since it.
|
||||
if package != "iai-callgrind-runner" {
|
||||
panic!(
|
||||
"repository {crate_repository} from crates.io differs from base manifest"
|
||||
);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
panic!("crate metadata does not include a repository");
|
||||
|
||||
Reference in New Issue
Block a user