Skip to content

ci:我日你先人 #117

ci:我日你先人

ci:我日你先人 #117

Workflow file for this run

name: 构建+发版
on:
push:
workflow_dispatch:
permissions:
contents: write
jobs:
build_windows:
runs-on: windows-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- run: pwd
- run: ls
- run: flutter pub get
- name: Build windows app
run: flutter build windows
- name: Upload windows artifact
uses: actions/upload-artifact@v4
with:
name: NamePicker-action-windows
path: |
build\windows\x64\runner\Release
- name: Build apk
run: flutter build apk --release
- name: Upload apk artifacts
uses: actions/upload-artifact@v4
with:
name: NamePicker-action-windows
path: |
build\app\outputs\apk\release\*.apk