File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 test :
12+ if : false
1213 runs-on : windows-latest
1314 steps :
1415 - name : Checkout
5354 - name : Publish
5455 run : dotnet publish Waratah/WaratahCmd/WaratahCmd.csproj -c Release -r ${{ matrix.os }}-${{ matrix.arch }} -p:SelfContained=true
5556
56- - name : Upload Artifacts
57+ - name : Tar files
58+ if : ${{ matrix.os != 'win' }}
59+ run : |
60+ tar cv "Waratah/WaratahCmd/bin/Release/net8.0/${{ matrix.os }}-${{ matrix.arch }}/publish/" \
61+ | gzip --best > waratah-${{ matrix.os }}-${{ matrix.arch }}.tar.gz
62+
63+ - name : Upload Tar
64+ uses : actions/upload-artifact@v4.0.0
65+ if : ${{ matrix.os != 'win' }}
66+ with :
67+ name : waratah-${{ matrix.os }}-${{ matrix.arch }}.tar.gz
68+ path : waratah-${{ matrix.os }}-${{ matrix.arch }}.tar.gz
69+ compression-level : 9
70+
71+ - name : Upload Zip
5772 uses : actions/upload-artifact@v4.0.0
73+ if : ${{ matrix.os == 'win' }}
5874 with :
5975 name : waratah-${{ matrix.os }}-${{ matrix.arch }}.zip
6076 path : Waratah/WaratahCmd/bin/Release/net8.0/${{ matrix.os }}-${{ matrix.arch }}/publish/
77+ compression-level : 9
You can’t perform that action at this time.
0 commit comments