Skip to content

Commit

Permalink
Update the publish workflow script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimdron committed Sep 10, 2021
1 parent df591d7 commit 5250451
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
CREDENTIALS_JSON: ${{secrets.CREDENTIALS_JSON}}
PUB_CACHE: $HOME/.pub-cache

jobs:
release:
Expand All @@ -19,6 +20,6 @@ jobs:
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.5.0'
- run: mkdir -p $FLUTTER_HOME/.pub-cache && echo $CREDENTIALS_JSON > $FLUTTER_HOME/.pub-cache/credentials.json
- run: mkdir -p $PUB_CACHE && echo $CREDENTIALS_JSON > $PUB_CACHE/credentials.json
- run: flutter pub get
- run: flutter pub publish -f

0 comments on commit 5250451

Please sign in to comment.