all repos — hastysite @ 4196e82fccc377058a98167f314b26626a84bdb8

A high-performance static site generator.

Update add-artifacts-to-current-releases.yml
Fabio Cevasco h3rald@h3rald.com
Sun, 20 Oct 2024 11:34:42 +0200
commit

4196e82fccc377058a98167f314b26626a84bdb8

parent

948d51a95d59a2ed5570d3a42e97f3005a8f1593

1 files changed, 10 insertions(+), 1 deletions(-)

jump to
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"