Skip to content

Commit

Permalink
ci: add automated publishing workflow (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
alestiago committed Aug 27, 2024
1 parent b562382 commit 0823486
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pub_publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: pub_publish

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

jobs:
publish:
permissions:
id-token: write # This is required for requesting the JWT
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 🐦 Setup Flutter
uses: subosito/flutter-action@v2
- name: 📦 Install Dependencies
run: flutter pub get
- name: 📢 Publish
run: dart pub publish --force

0 comments on commit 0823486

Please sign in to comment.