Ai
1 Star 6 Fork 1

FlutterAds/flutter_adspark

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
flutter.yml 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
Zero 提交于 2024-08-21 19:13 +08:00 . ✨ 更新说明
name: Build
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- master
jobs:
build:
# This job will run on macos virtual machine
runs-on: macos-13
steps:
# Setup Java environment in order to build the Android app.
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: 'gradle'
# Setup the flutter environment.
- uses: subosito/flutter-action@v2
with:
channel: 'stable' # 'dev', 'alpha', default to: 'stable'
# flutter-version: '1.22.x' # you can also specify exact version of flutter
# Get flutter dependencies.
- run: flutter pub get
# Check for any formatting issues in the code.
- run: dart format --set-exit-if-changed .
# Statically analyze the Dart code for any errors.
- run: dart analyze .
#####
# Build app
#####
# Build apk.
- run: cd example && flutter build apk
# Build ios
- run: cd example && flutter build ios --no-codesign
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Dart
1
https://gitee.com/FlutterAds/flutter_adspark.git
git@gitee.com:FlutterAds/flutter_adspark.git
FlutterAds
flutter_adspark
flutter_adspark
master

搜索帮助