Skip to content

Commit

Permalink
use single run
Browse files Browse the repository at this point in the history
  • Loading branch information
alann-maulana committed Apr 26, 2021
1 parent 13a5dbb commit 3db2e5a
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/pub-publish-test.yaml
Expand Up @@ -23,11 +23,13 @@ jobs:
with:
flutter-version: '2.0.5'
channel: 'stable'
- run: echo "FLUTTER_ROOT=$FLUTTER_HOME" >> $GITHUB_ENV && echo $FLUTTER_ROOT
- run: bash scripts/credentials.sh
- run: rm -rf scripts/
- run: make
- run: make deps
- run: pub global activate dartdoc
- run: make docs
- run: pub publish -n -v
- name: Documenting package
run: |
echo "FLUTTER_ROOT=$FLUTTER_HOME" >> $GITHUB_ENV
bash scripts/credentials.sh
rm -rf scripts/
make
make deps
pub global activate dartdoc
make docs
pub publish -n -v

0 comments on commit 3db2e5a

Please sign in to comment.