all repos — hastysite @ ce94ab828da7414382ac3e753786074df1a17bbf

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

ce94ab828da7414382ac3e753786074df1a17bbf

parent

017b4aaf4ec6a55413cd4ca11df4023e02550207

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