@@ -45,62 +45,25 @@ jobs:
45
45
- name : Install dependencies
46
46
run : yarn install
47
47
48
- # ============================================================
49
- # LINUX
50
- # ============================================================
51
-
52
48
- name : Build Linux
53
49
if : matrix.os == 'ubuntu-latest'
54
50
run : yarn build:linux
55
51
56
- - name : Upload artifacts (linux-amd64-snap)
57
- if : matrix.os == 'ubuntu-latest'
58
- uses : actions/upload-artifact@v3
59
- with :
60
- path : dist/phoenix-*-linux-amd64.snap
61
-
62
- # ============================================================
63
- # MACOS
64
- # ============================================================
65
-
66
52
- name : Build MacOS
67
53
if : matrix.os == 'macos-latest'
68
54
run : yarn build:mac
69
55
70
- - name : Upload artifacts (mac-arm64-dmg)
71
- if : matrix.os == 'macos-latest'
72
- uses : actions/upload-artifact@v3
73
- with :
74
- path : dist/phoenix-*-mac-arm64.dmg
75
-
76
- - name : Upload artifacts (mac-arm64-zip)
77
- if : matrix.os == 'macos-latest'
78
- uses : actions/upload-artifact@v3
79
- with :
80
- path : dist/phoenix-*-mac-arm64.zip
81
-
82
- - name : Upload artifacts (mac-x64-dmg)
83
- if : matrix.os == 'macos-latest'
84
- uses : actions/upload-artifact@v3
85
- with :
86
- path : dist/phoenix-*-mac-x64.dmg
87
-
88
- - name : Upload artifacts (mac-x64-zip)
89
- if : matrix.os == 'macos-latest'
90
- uses : actions/upload-artifact@v3
91
- with :
92
- path : dist/phoenix-*-mac-x64.zip
93
-
94
- # ============================================================
95
- # WINDOWS
96
- # ============================================================
97
-
98
56
- name : Build Windows
99
57
if : matrix.os == 'windows-latest'
100
58
run : yarn build:win
101
59
102
- - name : Upload artifacts (win-x64-exe)
103
- if : matrix.os == 'windows-latest'
60
+ - name : Upload artifacts
104
61
uses : actions/upload-artifact@v3
105
62
with :
106
- path : dist/phoenix-*-win-x64.exe
63
+ name : phoenix-app-{{ matrix.os }}
64
+ path : |
65
+ dist/phoenix-*.snap
66
+ dist/phoenix-*.exe
67
+ dist/phoenix-*.dmg
68
+ dist/phoenix-*.zip
69
+ retention-days : 5
0 commit comments