Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dough-su authored Sep 25, 2023
1 parent ede32fc commit 7b835c2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build Flutter Windows

on:
push:
branches:
- main # 更改为你的主分支名称
pull_request:
branches:
- main # 更改为你的主分支名称

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: stable

- name: Install dependencies
run: flutter pub get

- name: Build Windows
run: flutter build windows

0 comments on commit 7b835c2

Please sign in to comment.