Skip to content

尝试启动 vercel 自动部署 #24

尝试启动 vercel 自动部署

尝试启动 vercel 自动部署 #24

name: Build And Release Android
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
with:
flutter-version: '3.17.0-1.0.pre.38'
channel: 'master'
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'zulu'
- run: flutter pub get
- run: flutter build apk --release
- name: Release
uses: ncipollo/[email protected]
with:
artifacts: "build/app/outputs/flutter-apk/app-release.apk"
tag: '1.1.0'
token: ${{ secrets.YOUR_GITHUB_TOKEN }}