Merge pull request #204 from appwrite/lohanidamodar-patch-1

Fix workflow regex
This commit is contained in:
Damodar Lohani
2024-05-31 07:07:04 +05:45
committed by GitHub
+13 -4
View File
@@ -3,12 +3,21 @@ name: Publish to pub.dev
on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+.*'
- '[0-9]+\.[0-9]+\.[0-9]+*'
jobs:
publish:
permissions:
id-token: write
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: pub.dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Install dependencies
run: flutter pub get
- uses: dart-lang/setup-dart@v1
- name: Publish
run: dart pub publish --force