Skip to content

Commit

Permalink
added flutter clean / pub get lines before release build lines to res…
Browse files Browse the repository at this point in the history
…olve errors in release workflow (#1147)
  • Loading branch information
ggurdin authored Dec 5, 2024
1 parent df60195 commit a2be39d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ jobs:
- name: Prepare web
run: ./scripts/prepare-web.sh
- name: Build Release Web
run: flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps
run: |
flutter config --enable-web
flutter clean
flutter pub get
flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps
- name: Create archive
run: tar -czf pangeachat-web.tar.gz build/web/
- name: Upload Web Build
Expand Down

0 comments on commit a2be39d

Please sign in to comment.