Skip to content

Commit

Permalink
Merge pull request #64 from appspector/develop
Browse files Browse the repository at this point in the history
Updated github actions flow
  • Loading branch information
fylfot authored Jun 25, 2022
2 parents 9bdef44 + 4db1253 commit ed1f021
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- develop

env:
CREDENTIALS_PATH: /Users/runner/hostedtoolcache/.config/dart
CREDENTIALS_PATH: /Users/runner/hostedtoolcache/flutter/.pub-cache

jobs:
check:
Expand All @@ -23,7 +23,7 @@ jobs:
flutter-version: '3.0.3'

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

- run: flutter pub publish -n
- run: ./test_ios.sh
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
CREDENTIALS_JSON: ${{secrets.CREDENTIALS_JSON}}
CREDENTIALS_PATH: /Users/runner/hostedtoolcache/.config/dart
CREDENTIALS_PATH: /Users/runner/hostedtoolcache/flutter/.pub-cache

jobs:
release:
Expand All @@ -23,6 +23,12 @@ jobs:
flutter-version: '3.0.3'

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

# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
# with:
# limit-access-to-actor: true
# limit-access-to-users: fylfot

- run: flutter pub publish -f

0 comments on commit ed1f021

Please sign in to comment.