Skip to content

+ Upload macos

+ Upload macos #1

# Support build window
name: Window Release
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
Window Release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

Check failure on line 14 in .github/workflows/window_release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/window_release.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: "12.x"
cache: 'gradle'
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.10.2"
channel: 'stable'
cache: true
- name: Get dependencies
run: flutter --disable-telemetry && flutter pub get && flutter doctor || true
- name: Get dependencies example app
working-directory: example
run: flutter pub get
- name: Start release build
working-directory: example
run: flutter build windows --release
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: Window - Release
path: example/build/outputs/windows/Release/example.exe