Skip to content

Commit

Permalink
ci: 👷 use custom workflow to publish to pub.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Nidal-Bakir committed Feb 16, 2023
1 parent 25cbef3 commit 097e715
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,18 @@ on:

jobs:
publish:
uses: dart-lang/setup-dart/.github/workflows/[email protected]
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- name: 📚 Git checkout
uses: actions/checkout@v3

- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1

- name: 📦 Install dependencies
run: dart pub get

- name: 🚀 publish
run: dart pub publish --force

0 comments on commit 097e715

Please sign in to comment.