File tree 4 files changed +42
-16
lines changed
4 files changed +42
-16
lines changed Original file line number Diff line number Diff line change 22
22
create-nightly-artifacts :
23
23
runs-on : ubuntu-latest
24
24
25
+ strategy :
26
+ matrix :
27
+ os :
28
+ - Windows_32bit
29
+ - Windows_64bit
30
+ - Linux_32bit
31
+ - Linux_64bit
32
+ - Linux_ARMv6
33
+ - Linux_ARMv7
34
+ - Linux_ARM64
35
+ - macOS_64bit
36
+ - macOS_ARM64
37
+
25
38
steps :
26
39
- name : Checkout repository
27
40
uses : actions/checkout@v3
35
48
- name : Build
36
49
env :
37
50
NIGHTLY : true
38
- run : task dist:all
51
+ run : task dist:${{ matrix.os }}
39
52
40
53
- name : Upload artifacts
41
54
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change 57
57
if : needs.run-determination.outputs.result == 'true'
58
58
runs-on : ubuntu-latest
59
59
60
+ strategy :
61
+ matrix :
62
+ os :
63
+ - Windows_32bit
64
+ - Windows_64bit
65
+ - Linux_32bit
66
+ - Linux_64bit
67
+ - Linux_ARMv6
68
+ - Linux_ARMv7
69
+ - Linux_ARM64
70
+ - macOS_64bit
71
+ - macOS_ARM64
72
+
60
73
steps :
61
74
- name : Checkout repository
62
75
uses : actions/checkout@v3
77
90
fi
78
91
PACKAGE_NAME_PREFIX="$PACKAGE_NAME_PREFIX-${{ github.sha }}-"
79
92
export PACKAGE_NAME_PREFIX
80
- task dist:all
93
+ task dist:${{ matrix.os }}
81
94
82
95
# Transfer builds to artifacts job
83
96
- name : Upload combined builds artifact
Original file line number Diff line number Diff line change 19
19
create-release-artifacts :
20
20
runs-on : ubuntu-latest
21
21
22
+ strategy :
23
+ matrix :
24
+ os :
25
+ - Windows_32bit
26
+ - Windows_64bit
27
+ - Linux_32bit
28
+ - Linux_64bit
29
+ - Linux_ARMv6
30
+ - Linux_ARMv7
31
+ - Linux_ARM64
32
+ - macOS_64bit
33
+ - macOS_ARM64
34
+
22
35
steps :
23
36
- name : Checkout repository
24
37
uses : actions/checkout@v3
40
53
version : 3.x
41
54
42
55
- name : Build
43
- run : task dist:all
56
+ run : task dist:${{ matrix.os }}
44
57
45
58
- name : Upload artifacts
46
59
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change 23
23
CHECKSUM_FILE : " {{.VERSION}}-checksums.txt"
24
24
25
25
tasks :
26
- all :
27
- desc : Build for distribution for all platforms
28
- cmds :
29
- - task : Windows_32bit
30
- - task : Windows_64bit
31
- - task : Linux_32bit
32
- - task : Linux_64bit
33
- - task : Linux_ARMv6
34
- - task : Linux_ARMv7
35
- - task : Linux_ARM64
36
- - task : macOS_64bit
37
- - task : macOS_ARM64
38
-
39
26
Windows_32bit :
40
27
desc : Builds Windows 32 bit binaries
41
28
dir : " {{.DIST_DIR}}"
You can’t perform that action at this time.
0 commit comments