all repos — min @ d7949526edc1c4b46319d5009b146fd288fe507b

A small but practical concatenative programming language.

Update add-artifacts-to-current-release.yml
Fabio Cevasco h3rald@h3rald.com
Sat, 19 Oct 2024 15:48:54 +0200
commit

d7949526edc1c4b46319d5009b146fd288fe507b

parent

060dfb42a749908f2d8c029837753c270de03c43

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

jump to
M .github/workflows/add-artifacts-to-current-release.yml.github/workflows/add-artifacts-to-current-release.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 "os=${{matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'macos-latest' && 'macosx' || matrix.os == 'windows-latest' && 'windows'}}" >> $GITHUB_OUTPUT + run: echo "os=${{matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'macos-13' && 'macosx' || matrix.os == 'windows-latest' && 'windows'}}" >> $GITHUB_OUTPUT # Checks out the repository - uses: actions/checkout@v2

@@ -38,7 +38,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%

@@ -79,7 +79,7 @@

# Build for macOS - name: Build (macOS) run: nimble build -v -y -d:release -d:ssl --opt:size --mm:refc min - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-13' # Build for Windows - name: Build (Windows)

@@ -94,7 +94,7 @@ with:

files: | min 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

@@ -117,7 +117,7 @@

# Package the resulting Linux/macOS binary - name: Create artifact (Linux, macOS) run: zip min_${{steps.current-release.outputs.tag_name}}_${{steps.os.outputs.os}}_x64.zip min - 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)