Skip to content

Commit

Permalink
Changed gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Code42Maestro committed Oct 7, 2023
1 parent b7942f0 commit 2f18d5d
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: "3.0.0"
channel: 'stable'
cache: true
- name: Install dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Run tests
run: flutter test
- name: Format code
run: dart format --fix .
- name: Check Publish Warnings
run: dart pub publish --dry-run
- name: Publish
uses: nikosportolos/[email protected]
with:
credential: ${{ secrets.CREDENTIAL_BASE64 }}
flutter_package: false
skip_test: true
publish: true
pubdev_token: ${{ secrets.CREDENTIAL_BASE64 }}
dart_sdk: true

0 comments on commit 2f18d5d

Please sign in to comment.