Skip to content

Merge pull request #36 from deepraj02/dependabot/github_actions/actio… #17

Merge pull request #36 from deepraj02/dependabot/github_actions/actio…

Merge pull request #36 from deepraj02/dependabot/github_actions/actio… #17

Workflow file for this run

name: Publish Flutter Package
on:
push:
branches:
- master
jobs:
publishing-package:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
- name: Get dependencies
run: flutter pub get
- name: Analyze code
run: flutter analyze
- name: Format code
run: dart format --fix .
- name: Check publish warnings
run: dart pub publish --dry-run
- name: Publish package
uses: k-paxian/[email protected]
with:
credentialJson: ${{ secrets.CREDENTIAL_SECRET }}
flutter: true
skipTests: true