Skip to content

Commit f2359e9

Browse files
committed
ci: use --no-bundle flag for v2 beta templates test
1 parent a8e1cdf commit f2359e9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/templates-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ jobs:
130130
if: matrix.settings.install_cmd != ''
131131
working-directory: tauri-app
132132

133-
- run: ${{ matrix.settings.run_cmd }} tauri build -b none
133+
- run: ${{ matrix.settings.run_cmd }} tauri build ${{ matrix.settings.no_bundle_flag }}
134134
if: matrix.settings.manager != 'npm'
135135
working-directory: tauri-app
136136

137-
- run: ${{ matrix.settings.run_cmd }} tauri build -- -b none
137+
- run: ${{ matrix.settings.run_cmd }} tauri build -- ${{ matrix.settings.no_bundle_flag }}
138138
if: matrix.settings.manager == 'npm'
139139
working-directory: tauri-app

.scripts/generate-templates-matrix.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,21 @@ matrixConfig
6666
e.startsWith(`templates/template-${t}`) ||
6767
e.startsWith("src") ||
6868
e.startsWith("Cargo.toml") ||
69-
e.startsWith(".github/workflows/templates-test.yml"),
69+
e.startsWith(".github/workflows/templates-test.yml")
7070
)
7171
) {
7272
const jobInfo = {
7373
template: t,
7474
install_trunk: ["yew", "sycamore", "leptos"].includes(t),
7575
beta: false,
76+
no_bundle_flag: "-b none",
7677
...managerInfo,
7778
};
7879
outMatrix.push(jobInfo);
7980
outMatrix.push({
8081
...jobInfo,
8182
beta: true,
83+
no_bundle_flag: "--no-bundle",
8284
flags: "--beta",
8385
});
8486
}

0 commit comments

Comments
 (0)