Skip to content

Commit ed1f021

Browse files
authored
Merge pull request #64 from appspector/develop
Updated github actions flow
2 parents 9bdef44 + 4db1253 commit ed1f021

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- develop
88

99
env:
10-
CREDENTIALS_PATH: /Users/runner/hostedtoolcache/.config/dart
10+
CREDENTIALS_PATH: /Users/runner/hostedtoolcache/flutter/.pub-cache
1111

1212
jobs:
1313
check:
@@ -23,7 +23,7 @@ jobs:
2323
flutter-version: '3.0.3'
2424

2525
- run: flutter pub get
26-
- run: mkdir -p $CREDENTIALS_PATH && echo $CREDENTIALS_JSON > $CREDENTIALS_PATH/pub-credentials.json
26+
- run: mkdir -p $CREDENTIALS_PATH && echo $CREDENTIALS_JSON > $CREDENTIALS_PATH/credentials.json
2727

2828
- run: flutter pub publish -n
2929
- run: ./test_ios.sh

.github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
CREDENTIALS_JSON: ${{secrets.CREDENTIALS_JSON}}
10-
CREDENTIALS_PATH: /Users/runner/hostedtoolcache/.config/dart
10+
CREDENTIALS_PATH: /Users/runner/hostedtoolcache/flutter/.pub-cache
1111

1212
jobs:
1313
release:
@@ -23,6 +23,12 @@ jobs:
2323
flutter-version: '3.0.3'
2424

2525
- run: flutter pub get
26-
- run: mkdir -p $CREDENTIALS_PATH && echo $CREDENTIALS_JSON > $CREDENTIALS_PATH/pub-credentials.json
26+
- run: mkdir -p $CREDENTIALS_PATH && echo $CREDENTIALS_JSON > $CREDENTIALS_PATH/credentials.json
27+
28+
# - name: Setup upterm session
29+
# uses: lhotari/action-upterm@v1
30+
# with:
31+
# limit-access-to-actor: true
32+
# limit-access-to-users: fylfot
2733

2834
- run: flutter pub publish -f

0 commit comments

Comments
 (0)