You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Download the action from https://raw.githubusercontent.com/geode-sdk/build-geode-mod/main/examples/multi-platform.yml
99
-
if template.action{
100
-
let action_path = template
101
-
.project_location
102
-
.join(".github/workflows/multi-platform.yml");
103
-
fs::create_dir_all(action_path.parent().unwrap())
104
-
.nice_unwrap("Unable to create .github/workflows directory");
105
-
let action = reqwest::blocking::get("https://raw.githubusercontent.com/geode-sdk/build-geode-mod/main/examples/multi-platform.yml").nice_unwrap("Unable to download action");
106
-
fs::write(
107
-
action_path,
108
-
action.text().nice_unwrap("Unable to write action"),
109
-
)
110
-
.nice_unwrap("Unable to write action");
111
-
}
98
+
let action_path = template
99
+
.project_location
100
+
.join(".github/workflows/multi-platform.yml");
101
+
fs::create_dir_all(action_path.parent().unwrap())
102
+
.nice_unwrap("Unable to create .github/workflows directory");
103
+
let action = reqwest::blocking::get("https://raw.githubusercontent.com/geode-sdk/build-geode-mod/main/examples/multi-platform.yml").nice_unwrap("Unable to download action");
104
+
fs::write(
105
+
action_path,
106
+
action.text().nice_unwrap("Unable to write action"),
107
+
)
108
+
.nice_unwrap("Unable to write action");
112
109
113
110
let mod_json_path = template.project_location.join("mod.json");
0 commit comments