Commit 83f7676 louisdachet
committed
1 parent 0f1f5e4 commit 83f7676 Copy full SHA for 83f7676
File tree 1 file changed +26
-2
lines changed
1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
publish :
9
+ runs-on : ubuntu-latest
10
+
11
+ # Required for publishing to pub.dev
9
12
permissions :
10
- id-token : write # Required for authentication using OIDC
11
- uses : dart-lang/setup-dart/.github/workflows/publish.yml@v1
13
+ id-token : write
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+
18
+ - id : dotenv
19
+ uses : falti/dotenv-action@v0.2.8
20
+ with :
21
+ path : .github/workflows/.env
22
+
23
+ - uses : subosito/flutter-action@v2.5.0
24
+ with :
25
+ flutter-version : ${{ steps.dotenv.outputs.flutter_version }}
26
+ channel : " stable"
27
+ cache : true
28
+ cache-key : flutter-macos-${{ steps.dotenv.outputs.flutter_version }}
29
+ cache-path : ${{ runner.tool_cache }}/flutter-${{ steps.dotenv.outputs.flutter_version }}
30
+
31
+ - name : Install Dependencies
32
+ run : flutter pub get
33
+
34
+ - name : Publish to pub.dev
35
+ run : flutter pub publish --force
You can’t perform that action at this time.
0 commit comments