Skip to content

Commit 7140dab

Browse files
committed
feat: disable tests
feat: use .tar.gz for linux/mac
1 parent a26def7 commit 7140dab

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
test:
12+
if: false
1213
runs-on: windows-latest
1314
steps:
1415
- name: Checkout
@@ -53,8 +54,24 @@ jobs:
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

0 commit comments

Comments
 (0)