Skip to content

Commit

Permalink
Build --web-resources-cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
rayliverified committed Sep 5, 2024
1 parent d82a25d commit 41d1e2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_canvas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41d1e2e

Please sign in to comment.