-
-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (35 loc) · 1021 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: CI
on:
push:
branches:
- master
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Test connection
run: curl "https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json"
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- working-directory: ${{ inputs.working-directory }}
run: |
flutter pub get
dart analyze
flutter build apk --debug
flutter build appbundle --debug