fix: Add return statements in setScanPeriod and setBetweenScanPeriod to prevent IllegalStateException (#146) #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pub Publish Test | |
on: | |
push: | |
branches: | |
master | |
pull_request: | |
branches: | |
master | |
jobs: | |
build: | |
name: Publishing Test (Dry Run) | |
runs-on: ubuntu-latest | |
env: | |
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' | |
channel: 'stable' | |
- 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 |