@@ -34,10 +34,10 @@ jobs:
34
34
./build/build_linux_x64.sh
35
35
ls -lR lib
36
36
- name : ' Upload artifacts'
37
- uses : " actions/upload-artifact@v3 "
37
+ uses : " actions/upload-artifact@v4 "
38
38
# if: github.event_name == 'release' && github.event.action == 'created'
39
39
with :
40
- name : ' development-build'
40
+ name : ' development-build-linux_x64 '
41
41
path : ' ${{ github.workspace }}/dss_capi/release/*.tar.gz'
42
42
43
43
build_linux_x86 :
@@ -68,17 +68,17 @@ jobs:
68
68
docker run -e DSS_CAPI_VERSION -v "${PWD}/..:/build" $DOCKER_IMAGE bash -c 'cd /build/dss_capi; PATH=/opt/python/cp38-cp38/bin/:$PATH bash build/build_linux_x86.sh'
69
69
ls -lR lib
70
70
- name : ' Upload artifacts'
71
- uses : " actions/upload-artifact@v3 "
71
+ uses : " actions/upload-artifact@v4 "
72
72
# if: github.event_name == 'release' && github.event.action == 'created'
73
73
with :
74
- name : ' development-build'
74
+ name : ' development-build-linux_x86 '
75
75
path : ' ${{ github.workspace }}/dss_capi/release/*.tar.gz'
76
76
77
77
build_macos_x64 :
78
78
name : ' macOS x64 and ARM64'
79
79
runs-on : macos-latest
80
80
steps :
81
- - uses : actions/checkout@v3
81
+ - uses : " actions/checkout@v4 "
82
82
with :
83
83
fetch-depth : 0
84
84
path : ' dss_capi'
@@ -109,10 +109,10 @@ jobs:
109
109
./build/build_macos_arm64.sh
110
110
ls -lR lib
111
111
- name : ' Upload artifacts'
112
- uses : " actions/upload-artifact@v3 "
112
+ uses : " actions/upload-artifact@v4 "
113
113
# if: github.event_name == 'release' && github.event.action == 'created'
114
114
with :
115
- name : ' development-build'
115
+ name : ' development-build-darwin '
116
116
path : ' ${{ github.workspace }}/dss_capi/release/*.tar.gz'
117
117
118
118
build_win_x64 :
@@ -121,7 +121,7 @@ jobs:
121
121
env :
122
122
DSS_CAPI_BUILD_ODDIE : ' 1'
123
123
steps :
124
- - uses : actions/checkout@v3
124
+ - uses : " actions/checkout@v4 "
125
125
with :
126
126
fetch-depth : 0
127
127
path : ' dss_capi'
@@ -151,17 +151,17 @@ jobs:
151
151
call build/generated/set_version.bat
152
152
call build/build_win_x64.bat
153
153
- name : ' Upload artifacts'
154
- uses : " actions/upload-artifact@v3 "
154
+ uses : " actions/upload-artifact@v4 "
155
155
# if: github.event_name == 'release' && github.event.action == 'created'
156
156
with :
157
- name : ' development-build'
157
+ name : ' development-build-win_x64 '
158
158
path : ' ${{ github.workspace }}/dss_capi/release/*.zip'
159
159
160
160
build_win :
161
161
name : ' Windows x86'
162
162
runs-on : windows-2019
163
163
steps :
164
- - uses : actions/checkout@v3
164
+ - uses : " actions/checkout@v4 "
165
165
with :
166
166
fetch-depth : 0
167
167
path : ' dss_capi'
@@ -189,8 +189,18 @@ jobs:
189
189
call build/generated/set_version.bat
190
190
call build/build_win_x86.bat
191
191
- name : ' Upload artifacts'
192
- uses : " actions/upload-artifact@v3 "
192
+ uses : " actions/upload-artifact@v4 "
193
193
# if: github.event_name == 'release' && github.event.action == 'created'
194
194
with :
195
- name : ' development-build'
195
+ name : ' development-build-win_x86 '
196
196
path : ' ${{ github.workspace }}/dss_capi/release/*.zip'
197
+
198
+ merge :
199
+ runs-on : ubuntu-latest
200
+ needs : [build_linux_x64, build_linux_x86, build_macos_x64, build_win_x64, build_win]
201
+ steps :
202
+ - name : Merge Artifacts
203
+ uses : actions/upload-artifact/merge@v4
204
+ with :
205
+ name : development-build
206
+ pattern : development-build-*
0 commit comments