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:
8989 if : startsWith(matrix.os, 'windows')
9090 shell : cmd
9191 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 ..
9495
9596 - name : Create Artifact (Non-Windows)
9697 if : startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
9798 shell : bash
9899 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 ..
101104
102105 - name : Upload Artifact
103106 uses : actions/upload-artifact@v4
104107 with :
105108 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