Skip to content

Commit

Permalink
Create package_deploy.yml (#110)
Browse files Browse the repository at this point in the history
* Create package_deploy.yml

* update target branch in package deploy action
  • Loading branch information
koukibadr authored Oct 14, 2023
1 parent 6b79d6e commit d32c990
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/package_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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.7.10'
- name: Install dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Format code
run: dart format --fix .
- name: Check Publish Warnings
run: dart pub publish --dry-run
- name: Publish
uses: k-paxian/dart-package-publisher@v1.5.1
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: true
skipTests: true

0 comments on commit d32c990

Please sign in to comment.