File tree Expand file tree Collapse file tree 1 file changed +5
-23
lines changed Expand file tree Collapse file tree 1 file changed +5
-23
lines changed Original file line number Diff line number Diff line change 1313 - " v*"
1414
1515jobs :
16- build-linux :
17- runs-on : ubuntu-latest
18- container : google/dart:stable
19- steps :
20- - name : Checkout code
21- uses : actions/checkout@v4
22-
23- - name : Create archive
24- run : |
25- bash ./scripts/build_release.sh
26- shell : bash
27-
28- - name : Upload artifact
29- uses : actions/upload-artifact@v4
30- with :
31- name : release-archive-ubuntu-latest
32- path : ${{ env.ARCHIVE_NAME }}
33-
34- build-non-linux :
16+ build :
3517 strategy :
3618 matrix :
37- os : [macos-latest, windows-latest]
19+ os : [macos-latest, windows-latest, ubuntu-latest ]
3820 runs-on : ${{ matrix.os }}
3921 steps :
4022 - name : Checkout code
4325 - name : Setup Dart
4426 uses : dart-lang/setup-dart@v1
4527
46- - name : Create archive (macOS)
47- if : matrix.os == 'macos-latest'
28+ - name : Create archive (macOS, Linux )
29+ if : matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
4830 run : |
4931 bash ./scripts/build_release.sh
5032 shell : bash
6244 path : ${{ env.ARCHIVE_NAME }}
6345
6446 release :
65- needs : [ build-linux, build-non-linux]
47+ needs : build
6648 runs-on : ubuntu-latest
6749 permissions :
6850 contents : write
You can’t perform that action at this time.
0 commit comments