.github/workflows/publish.yml #24
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
on: | |
release: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.3.0' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Check Publish Warnings | |
run: dart pub publish --dry-run | |
- name: Publish | |
uses: k-paxian/[email protected] | |
with: | |
credentialJson: ${{ secrets.CREDENTIAL_JSON }} | |
flutter: true | |
skipTests: true |