Skip to content

Commit

Permalink
Publish packages with flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
gbhrdt committed Jul 16, 2024
1 parent a1bbcc6 commit 8346bf4
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,23 @@ jobs:
publish:
permissions:
id-token: write
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Flutter SDK
uses: flutter-actions/setup-flutter@v3
with:
channel: stable
version: latest
- uses: flutter-actions/setup-pubdev-credentials@v1

- name: Install dependencies
run: flutter packages get

- name: Analyze project source
run: flutter analyze

- name: Run tests
run: flutter pub publish --force

0 comments on commit 8346bf4

Please sign in to comment.