From 41d1e2e18a686ff04767a4e01a3d14aff3162171 Mon Sep 17 00:00:00 2001 From: Codelessly Date: Thu, 5 Sep 2024 17:01:44 -0500 Subject: [PATCH] Build --web-resources-cdn --- .github/workflows/build_canvas.yml | 2 +- .github/workflows/build_html.yml | 2 +- .github/workflows/main.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_canvas.yml b/.github/workflows/build_canvas.yml index 9182677..2129515 100644 --- a/.github/workflows/build_canvas.yml +++ b/.github/workflows/build_canvas.yml @@ -24,7 +24,7 @@ jobs: mkdir -p clone_dir/flutterwebsites/minimal-canvas/ - name: Build run: | - flutter build web --release --base-href /flutterwebsites/minimal-canvas/ --web-renderer canvaskit + flutter build web --release --base-href /flutterwebsites/minimal-canvas/ --web-renderer canvaskit --web-resources-cdn mv build/web/* clone_dir/flutterwebsites/minimal-canvas - name: Get current date id: date diff --git a/.github/workflows/build_html.yml b/.github/workflows/build_html.yml index d8a5ecc..6e31f53 100644 --- a/.github/workflows/build_html.yml +++ b/.github/workflows/build_html.yml @@ -21,7 +21,7 @@ jobs: mkdir -p clone_dir/flutterwebsites/minimal-html/ - name: Build run: | - flutter build web --release --base-href /flutterwebsites/minimal-html/ --web-renderer html + flutter build web --release --base-href /flutterwebsites/minimal-html/ --web-renderer html --web-resources-cdn mv build/web/* clone_dir/flutterwebsites/minimal-html - name: Get current date id: date diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6209434..17a73e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: mkdir -p clone_dir/flutterwebsites/minimal - name: Build run: | - flutter build web --release --base-href /flutterwebsites/minimal/ --wasm + flutter build web --release --base-href /flutterwebsites/minimal/ --wasm --web-resources-cdn mv build/web/* clone_dir/flutterwebsites/minimal - name: Get current date id: date