Skip to content

Commit 1344c60

Browse files
authored
Merge pull request #64 from chandrabezzo/chandrabezzo-patch-1
Update dart.yml
2 parents fbc4d9e + 44945e2 commit 1344c60

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.github/workflows/dart.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
name: Publish plugin
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
name: Publish to pub.dev
27

38
on:
49
push:
5-
tags:
6-
- v*
10+
tags:
11+
- '[0-9]+.[0-9]+.[0-9]+*'
712

813
jobs:
914
publish:
10-
11-
runs-on: ubuntu-latest
12-
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v1
16-
- name: Publish
17-
uses: sakebook/actions-flutter-pub-publisher@v1.2.1
18-
with:
19-
credential: ${{ secrets.CREDENTIALS }}
20-
skip_test: true
15+
permissions:
16+
id-token: write # Required for authentication using OIDC
17+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
18+
# with:
19+
# working-directory: path/to/package/within/repository

0 commit comments

Comments
 (0)