File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -89,20 +89,21 @@ jobs:
89
89
if : startsWith(matrix.os, 'windows')
90
90
shell : cmd
91
91
run : |
92
- cd build\castxml\bin
93
- 7z a ..\..\castxml-${{ matrix.os }}-${{ matrix.arch }}.zip castxml.exe
92
+ cd build
93
+ 7z a castxml-${{ matrix.os }}-${{ matrix.arch }}.zip castxml
94
+ move castxml-${{ matrix.os }}-${{ matrix.arch }}.zip ..
94
95
95
96
- name : Create Artifact (Non-Windows)
96
97
if : startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
97
98
shell : bash
98
99
run : |
99
- cd build/castxml/bin
100
- tar czvf ../../castxml-${{ matrix.os }}-${{ matrix.arch }}.tar.gz castxml
100
+ cd build
101
+ tar cvf castxml-${{ matrix.os }}-${{ matrix.arch }}.tar castxml
102
+ gzip -9 castxml-${{ matrix.os }}-${{ matrix.arch }}.tar
103
+ mv castxml-${{ matrix.os }}-${{ matrix.arch }}.tar.gz ..
101
104
102
105
- name : Upload Artifact
103
106
uses : actions/upload-artifact@v4
104
107
with :
105
108
name : castxml-${{ matrix.os }}-${{ matrix.arch }}
106
- path : |
107
- build/castxml-*.tar.gz
108
- build/castxml-*.zip
109
+ path : ./castxml-${{ matrix.os }}-${{ matrix.arch }}.*
You can’t perform that action at this time.
0 commit comments