Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasholst committed Oct 31, 2024
1 parent edd233b commit e1248fa
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,23 @@ on:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
publish:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.24.3'
- name: Install dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Check Publish Warnings
run: dart pub publish --dry-run
- name: Publish
uses: sakebook/actions-flutter-pub-publisher@v1.4.1
uses: k-paxian/dart-package-publisher@v1.5.1
with:
credential: ${{ secrets.PUB_CREDENTIALS }}
skip_test: true
dry_run: true
credentialJson: ${{ secrets.PUB_CREDENTIALS }}
flutter: true
skipTests: true

0 comments on commit e1248fa

Please sign in to comment.