all repos — hastysite @ 4ec3faad9e5e681f16c0c80dad72efe8e482a79d

A high-performance static site generator.

Update add-artifacts-to-current-releases.yml
Fabio Cevasco h3rald@h3rald.com
Sat, 19 Oct 2024 23:18:42 +0200
commit

4ec3faad9e5e681f16c0c80dad72efe8e482a79d

parent

28fed70b2c947529e60f0a2e3e40aed7d887a2e2

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

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

@@ -13,7 +13,7 @@ strategy:

matrix: os: - ubuntu-latest - - macos-latest + - macos-13 - windows-latest env:

@@ -30,7 +30,7 @@

# Detects OS and provide Nim-friendly OS identifiers - name: Detect current OS id: os - run: echo "::set-output name=id::${{matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'macos-latest' && 'macosx' || matrix.os == 'windows-latest' && 'windows'}}" + run: echo "::set-output name=id::${{matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'macos-13' && 'macosx' || matrix.os == 'windows-latest' && 'windows'}}" # Checks out the repository - uses: actions/checkout@v2

@@ -43,7 +43,7 @@

# Sets path (Linux, macOS) - name: Update $PATH run: echo "$HOME/.nimble/bin" >> $GITHUB_PATH - if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' + if: matrix.os == 'macos-13' || matrix.os == 'ubuntu-latest' # Sets path (Windows) - name: Update %PATH%

@@ -67,7 +67,7 @@

# Build for macOS/Windows - name: Build (macOS, Windows) run: nimble build -y -d:release --opt:size --mm:refc - if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest' + if: matrix.os == 'macos-13' || matrix.os == 'windows-latest' # UPX compress (*nix) - name: UPX

@@ -76,7 +76,7 @@ with:

files: | hastysite args: --best --force - if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' + if: matrix.os == 'macos-13' || matrix.os == 'ubuntu-latest' # UPX compress (Windows) - name: UPX

@@ -99,7 +99,7 @@

# Package the resulting Linux/macOS binary - name: Create artifact (Linux, macOS) run: zip hastysite_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.id}}_x64.zip hastysite - if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-13' # Package the resulting Windows binary - name: Create artifact (Windows)