Skip to content

Update test.yml

Update test.yml #2

Workflow file for this run

name: Publish to pub.dev
on: push
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.x'
channel: 'stable'
- run: flutter pub get
- run: flutter test
- run: flutter pub publish --dry-run
# with:
# environment: 'pub.dev'