Skip to content

Commit

Permalink
ci: Add mews_pedantic publish workflow (MewsSystems#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash authored Jul 31, 2024
1 parent 2706d53 commit 838efe4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/mews_pedantic-pubish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish mews_pedantic to pub.dev

on:
push:
tags:
- "mews_pedantic-v[0-9]+.[0-9]+.[0-9]+*"

jobs:
publish:
name: Publish to pub.dev
runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Install Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable

- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"

- name: Publish to pub.dev
run: flutter pub publish --directory=mews_pedantic --force

0 comments on commit 838efe4

Please sign in to comment.