Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 28, 2022
1 parent 7c0bb77 commit 43d6048
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tools/codegen/src/main.rs
Expand Up @@ -402,6 +402,7 @@ impl<'de> Deserialize<'de> for Version {

#[derive(Debug, Clone, Serialize, Deserialize)]
struct Manifest {
// TODO: only serialize version if key != version?
version: Version,
#[serde(flatten)]
download_info: BTreeMap<HostPlatform, ManifestDownloadInfo>,
Expand All @@ -419,6 +420,7 @@ struct ManifestDownloadInfo {
bin: Option<String>,
}

// TODO: add version_range field and remove latest_only function
#[derive(Debug, Deserialize)]
struct BaseManifest {
/// Link to the GitHub repository.
Expand Down
2 changes: 1 addition & 1 deletion tools/manifest.sh
Expand Up @@ -15,5 +15,5 @@ fi

for manifest in tools/codegen/base/*.json; do
package="$(basename "${manifest%.*}")"
cargo run --release -p install-action-internal-codegen -- "${package}" latest
cargo run --release -p install-action-internal-codegen -- "${package}" #latest
done

0 comments on commit 43d6048

Please sign in to comment.