Skip to content

Commit

Permalink
fix pub publish
Browse files Browse the repository at this point in the history
  • Loading branch information
alann-maulana committed Apr 26, 2021
1 parent e13569d commit ad4ab04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pub-publish-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ jobs:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.0.5'
flutter-version: '1.22.4'
channel: 'stable'
- run: echo "FLUTTER_ROOT=$FLUTTER_HOME" >> $GITHUB_ENV && echo $FLUTTER_ROOT
- run: bash scripts/credentials.sh
- run: pub login
- run: rm -rf scripts/
- run: make
- run: make deps
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/pub-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,18 @@ jobs:
name: Publishing
runs-on: ubuntu-latest
env:
PUB_ACCESS_TOKEN: ${{ secrets.PUB_ACCESS_TOKEN }}
PUB_REFRESH_TOKEN: ${{ secrets.PUB_REFRESH_TOKEN }}
PUB_TOKEN_ENDPOINT: ${{ secrets.PUB_TOKEN_ENDPOINT }}
PUB_SCOPES: ${{ secrets.PUB_SCOPES }}
PUB_EXPIRATION: ${{ secrets.PUB_EXPIRATION }}
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.0.5'
flutter-version: '1.22.4'
channel: 'stable'
- run: echo "FLUTTER_ROOT=$FLUTTER_HOME" >> $GITHUB_ENV && echo $FLUTTER_ROOT
- run: bash scripts/credentials.sh
- run: pub login
- run: rm -rf scripts/
- run: make
- run: make deps
Expand Down

0 comments on commit ad4ab04

Please sign in to comment.