File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed
flutter/.github/workflows Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,17 @@ name: Publish to pub.dev
3
3
on:
4
4
push:
5
5
tags:
6
- - '[0-9]+\.[0-9]+\.[0-9]+. *'
6
+ - '[0-9]+\.[0-9]+\.[0-9]+*'
7
7
8
8
jobs:
9
9
publish:
10
10
permissions:
11
- id-token: write
12
- uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
13
- with:
14
- environment: pub.dev
11
+ id-token: write # Required for authentication using OIDC
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - uses: dart-lang/setup-dart@v1
16
+ - name: Install dependencies
17
+ run: dart pub get
18
+ - name: Publish
19
+ run: dart pub publish --force
Original file line number Diff line number Diff line change @@ -3,12 +3,21 @@ name: Publish to pub.dev
3
3
on:
4
4
push:
5
5
tags:
6
- - '[0-9]+\.[0-9]+\.[0-9]+. *'
6
+ - '[0-9]+\.[0-9]+\.[0-9]+*'
7
7
8
8
jobs:
9
9
publish:
10
10
permissions:
11
11
id-token: write
12
- uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
13
- with:
14
- environment: pub.dev
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Install Flutter
16
+ uses: subosito/flutter-action@v2
17
+ with:
18
+ channel: stable
19
+ - name: Install dependencies
20
+ run: flutter pub get
21
+ - uses: dart-lang/setup-dart@v1
22
+ - name: Publish
23
+ run: dart pub publish --force
You can’t perform that action at this time.
0 commit comments