File tree Expand file tree Collapse file tree 2 files changed +35
-4
lines changed
actions/publish_flutter_package Expand file tree Collapse file tree 2 files changed +35
-4
lines changed Original file line number Diff line number Diff line change 3737
3838 - name : 📢 Publish
3939 shell : ${{ inputs.shell }}
40- run : flutter config --enable-swift-package-manager;flutter pub publish -f
40+ run : flutter pub publish -f
4141 working-directory : ${{ inputs.working-directory }}
Original file line number Diff line number Diff line change 1818 - uses : subosito/flutter-action@v2
1919 with :
2020 channel : stable
21- - run : flutter config --enable-swift-package-manager
2221 - run : flutter pub get
2322 - run : cd example; flutter build ios --no-codesign
23+
24+ test_iOS_SPM :
25+ name : Test iOS on ${{ matrix.os }}
26+ runs-on : ${{ matrix.os }}
27+ strategy :
28+ matrix :
29+ os : [macos-latest]
30+ steps :
31+ - uses : actions/checkout@v4
32+ - uses : subosito/flutter-action@v2
33+ with :
34+ channel : stable
35+ - run : flutter config --enable-swift-package-manager
36+ - run : flutter pub get
37+ - run : cd example; flutter build ios --no-codesign
38+
39+
2440 test_macOS :
2541 name : Test macOS on ${{ matrix.os }}
2642 runs-on : ${{ matrix.os }}
3248 - uses : subosito/flutter-action@v2
3349 with :
3450 channel : stable
35- - run : flutter config --enable-swift-package-manager
51+ - run : flutter pub get
52+ - run : cd example; flutter build macos
53+
54+
55+ test_macOS_SPM :
56+ name : Test macOS on ${{ matrix.os }}
57+ runs-on : ${{ matrix.os }}
58+ strategy :
59+ matrix :
60+ os : [macos-latest]
61+ steps :
62+ - uses : actions/checkout@v4
63+ - uses : subosito/flutter-action@v2
64+ with :
65+ channel : stable
66+ - run : flutter config --enable-swift-package-manager
3667 - run : flutter pub get
3768 - run : cd example; flutter build macos
3869
5384 - uses : subosito/flutter-action@v2
5485 with :
5586 channel : stable
56- - run : flutter config --enable-swift-package-manager; flutter pub get
87+ - run : flutter pub get
5788 - run : cd example; flutter build apk --debug
You can’t perform that action at this time.
0 commit comments