File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 17
17
uses : github/actions-oidc-debugger@main
18
18
with :
19
19
audience : ' ${{ github.server_url }}/${{ github.repository_owner }}'
20
- dart-pipeline :
21
- uses : affinidi/pipeline-dart/.github/workflows/release.yaml@main
22
- secrets : inherit
20
+ - name : Setup Flutter SDK
21
+ uses : flutter-actions/setup-flutter@v4
22
+ with :
23
+ channel : stable
24
+ version : ' 3.27.0'
25
+
26
+ - name : Setup pub.dev credentials
27
+ uses : flutter-actions/setup-pubdev-credentials@v1
28
+
29
+ - run : echo "RELEASE_VERSION=$(echo ${GITHUB_REF#refs/tags/} | cut -d'-' -f2,3 | cut -c2- )" >> $GITHUB_ENV
30
+ - name : Extract Project Name from Tag
31
+ run : echo "PROJECT_NAME=$(echo ${GITHUB_REF#refs/tags/} | cut -d'-' -f1)" >> $GITHUB_ENV
32
+
33
+ - name : Get GITHUB_ENV
34
+ run : cat $GITHUB_ENV
35
+
36
+ - name : pub get
37
+ run : flutter pub get
38
+
39
+ - run : sed -i "s|^version: .*|version: ${RELEASE_VERSION}|" pubspec.yaml
40
+ - run : dart pub publish --skip-validation --force
41
+
42
+
You can’t perform that action at this time.
0 commit comments