Skip to content

Commit 785fa89

Browse files
authored
Update main.yml
1 parent dd783ac commit 785fa89

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717
filter: tree:0
18+
- name: Install upx
19+
run: sudo apt-get update && sudo apt-get install upx -y
20+
1821
- name: Install .NET
1922
uses: actions/setup-dotnet@v4
2023
with:
@@ -62,7 +65,8 @@ jobs:
6265
rm -rf ./src/bin/win-x64/lib/fuzzer
6366
rm -rf ./src/bin/win-x64/lib/docs
6467
rm -rf ./src/bin/win-x64/lib/doc
65-
68+
- name: upx exe ./src/bin/win-x64/zig.exe
69+
run: upx --best
6670
- name: pack nugets
6771
run: dotnet build -t:Pack src/PublishAotCross.Compiler.nuproj -o ./packages -p:Version=0.0.0-alpha.${{github.run_number}}
6872
- name: Upload a Build Artifact

0 commit comments

Comments
 (0)