File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : build
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ paths-ignore :
6
+ - ' .github/workflows/**'
7
+ - ' README.md'
8
+ pull_request :
4
9
5
10
jobs :
6
11
build_ios :
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
publish :
10
10
name : Publish
11
- runs-on : ubuntu -latest
11
+ runs-on : macos -latest
12
12
steps :
13
13
- uses : actions/checkout@v3
14
14
- uses : subosito/flutter-action@v2
22
22
# Windows: %LOCALAPPDATA%/dart/pub-credentials.json
23
23
CREDENTIALS : ${{ secrets.CREDENTIALS_JSON }}
24
24
run : |
25
- if [ -z $PUB_CACHE ];then
26
- PUB_CACHE=~/.pub-cache
27
- fi
28
- mkdir -p $PUB_CACHE
29
- echo $CREDENTIALS > $PUB_CACHE/credentials.json
25
+ mkdir -p ~/Library/Application\ Support/dart
26
+ echo $CREDENTIALS > ~/Library/Application\ Support/dart/pub-credentials.json
30
27
- run : flutter --version
31
28
- run : flutter pub get
32
29
- run : dart format --set-exit-if-changed .
You can’t perform that action at this time.
0 commit comments