Skip to content

Release 0.0.3

Release 0.0.3 #26

Workflow file for this run

on:
release:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.24.0'
- name: Create .env file
run: echo "VIETMAP_API_KEY=YOUR_API_KEY_HERE" >> example/.env
- name: Install dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Format code
run: dart format --fix .
- name: Fix imports
run: dart fix --apply
- name: Check Publish Warnings
run: dart pub publish --dry-run
- name: Publish
uses: k-paxian/[email protected]
with:
credentialJson: ${{ secrets.PUB_DEV_TOKEN }}
flutter: true
skipTests: true