all repos — hastysite @ 79bcae56ea2633bc9042cbda9da3aedf0295da36

A high-performance static site generator.

Attempting to fix add artifacts workflow
h3rald h3rald@h3rald.com
Tue, 15 Aug 2023 03:27:14 +0000
commit

79bcae56ea2633bc9042cbda9da3aedf0295da36

parent

0316c6f65d5e97fd3b3c26d5b33553bf427b2939

1 files changed, 9 insertions(+), 2 deletions(-)

jump to
M .github/workflows/add-artifacts-to-current-releases.yml.github/workflows/add-artifacts-to-current-releases.yml

@@ -50,6 +50,13 @@ - name: Update %PATH%

run: echo "${HOME}/.nimble/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append if: matrix.os == 'windows-latest' + # Setup MinGW + - name: Set up MinGW + uses: egor-tensin/setup-mingw@v2 + with: + platform: x64 + if: matrix.os == 'windows-latest' + # Install the Nim compiler and dependencies - name: Install Nim and deps run: |

@@ -61,12 +68,12 @@ nifty install

nifty build discount # Build for Linux - name: Build (Linux) - run: nimble build -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --gc:orc --opt:size --deepcopy:on + run: nimble build -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc --opt:size if: matrix.os == 'ubuntu-latest' # Build for macOS/Windows - name: Build (macOS, Windows) - run: nimble build -d:release --opt:size --gc:orc --deepcopy:on + run: nimble build -d:release --opt:size --mm:refc if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest' # Retrieve ID and Name of the current (draft) release