You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
706 B

2 years ago
  1. workflows:
  2. web-workflow:
  3. name: Web Workflow
  4. instance_type: mac_mini
  5. max_build_duration: 60
  6. environment:
  7. flutter: stable
  8. xcode: latest
  9. cocoapods: default
  10. triggering:
  11. events:
  12. - push
  13. scripts:
  14. - name: Install dependencies
  15. script: flutter packages pub get
  16. - name: Enable web
  17. script: flutter config --enable-web
  18. - name: Testing
  19. script: flutter test
  20. - name: Build web
  21. script:
  22. |
  23. flutter build web --release
  24. cd build/web
  25. 7z a -r ../web.zip ./*
  26. artifacts:
  27. - build/web.zip
  28. publishing:
  29. email:
  30. recipients:
  31. - sbis1999@gmail.com