File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 22
22
23
23
steps :
24
24
- uses : actions/checkout@v4
25
+ with :
26
+ fetch-depth : 1 # Use shallow clone for faster checkout
25
27
26
28
- name : Check broken links
27
29
uses : JustinBeckwith/linkinator-action@v1
@@ -34,10 +36,18 @@ jobs:
34
36
distribution : ' zulu'
35
37
java-version : ' 11'
36
38
39
+ - name : Get Flutter version by FVM
40
+ uses : kuhnroyal/flutter-fvm-config-action@v2
41
+ id : fvm-config-action
42
+ with :
43
+ path : " .fvmrc"
44
+
37
45
- name : Flutter action
38
46
uses : subosito/flutter-action@v2
39
47
with :
40
- channel : ' stable'
48
+ flutter-version : ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
49
+ channel : ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
50
+ architecture : x64
41
51
cache : true
42
52
43
53
- name : Install dependencies
65
75
flutter build web
66
76
67
77
deployment :
68
- if : ${{ github.ref_type == 'tag' }}
69
- needs : build
70
- name : Deploy package
71
78
permissions :
72
79
id-token : write
73
- runs-on : ubuntu-latest
74
- steps :
75
- - uses : actions/checkout@v4
76
- - uses : dart-lang/setup-dart@v1
77
- - name : Flutter action
78
- uses : subosito/flutter-action@v2
79
- with :
80
- channel : ' stable'
81
- cache : true
82
- - name : Publish package
83
- run : dart pub publish -v -f
80
+ uses : flutter-form-builder-ecosystem/.github/.github/workflows/deployment.yaml@main
81
+ if : ${{ github.ref_type == 'tag' }}
82
+ needs : build
You can’t perform that action at this time.
0 commit comments