Skip to content

v1.0.0

v1.0.0 #24

Workflow file for this run

name: Publish to pub.dev
on:
pull_request:
types:
- closed
branches:
- 'main'
jobs:
publish:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Install dependencies
run: flutter pub get
- name: Format code
run: dart format --fix .
- name: Publish
uses: k-paxian/dart-package-publisher@v1.5.1
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: true
skipTests: true
environment: pub.dev