Update add-artifacts-to-current-releases.yml
Fabio Cevasco h3rald@h3rald.com
Sun, 20 Oct 2024 11:34:42 +0200
1 files changed,
10 insertions(+),
1 deletions(-)
M
.github/workflows/add-artifacts-to-current-releases.yml
→
.github/workflows/add-artifacts-to-current-releases.yml
@@ -87,7 +87,7 @@
# Build for Windows - name: Build (Windows) run: nimble build -v -y -d:release --mm:refc --opt:size --gcc.exe:x86_64-w64-mingw32-gcc --gcc.linkerexe:x86_64-w64-mingw32-gcc - if: matrix.os == matrix.os == 'windows-latest' + if: matrix.os == 'windows-latest' # UPX compress (Linux) - name: UPX@@ -97,6 +97,15 @@ files: |
hastysite args: --best --force if: matrix.os == 'ubuntu-latest' + + # UPX compress (Linux) + - name: UPX + uses: svenstaro/upx-action@v2 + with: + files: | + hastysite.exe + args: --best --force + if: matrix.os == 'windows-latest' # Retrieve ID and Name of the current (draft) release - name: "Get current release"