We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076d76d commit 7a262adCopy full SHA for 7a262ad
src/github.rs
@@ -97,10 +97,19 @@ pub async fn command_fetch_release_distributions(args: &ArgMatches) -> Result<()
97
.send()
98
.await?
99
.into_iter()
100
- .map(|wf| {
101
- workflow_names.insert(wf.id.clone(), wf.name);
102
-
103
- wf.id
+ .filter_map(|wf| {
+ if matches!(
+ wf.name.as_str(),
+ ".github/workflows/apple.yml"
104
+ | ".github/workflows/linux.yml"
105
+ | ".github/workflows/windows.yml"
106
+ ) {
107
+ workflow_names.insert(wf.id.clone(), wf.name);
108
+
109
+ Some(wf.id)
110
+ } else {
111
+ None
112
+ }
113
})
114
.collect::<Vec<_>>();
115
0 commit comments