all repos — min @ 3d1a54002939f7dd50ccb4d3b58cc191218e541e

A small but practical concatenative programming language.

Update add-artifacts-to-current-release.yml
Fabio Cevasco h3rald@h3rald.com
Sat, 26 Oct 2024 21:50:41 +0200
commit

3d1a54002939f7dd50ccb4d3b58cc191218e541e

parent

54b66c8d3bbd0b9f5dbc65e037ad1fe85ea22420

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

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

@@ -14,7 +14,7 @@ matrix:

os: - ubuntu-latest - macos-13 - - windows-19 + - windows-2019 env: CHOOSENIM_CHOOSE_VERSION: stable

@@ -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-13' && 'macosx' || matrix.os == 'windows-19' && 'windows'}}" >> $GITHUB_OUTPUT + run: echo "os=${{matrix.os == 'ubuntu-latest' && 'linux' || matrix.os == 'macos-13' && 'macosx' || matrix.os == 'windows-2019' && 'windows'}}" >> $GITHUB_OUTPUT # Checks out the repository - uses: actions/checkout@v2

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

# Sets path (Windows) - name: Update %PATH% run: echo "${HOME}/.nimble/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - if: matrix.os == 'windows-19' + if: matrix.os == 'windows-2019' # Installs libraries - name: install musl-gcc

@@ -51,7 +51,7 @@ run: sudo apt-get install -y musl-tools

if: matrix.os == 'ubuntu-latest' - name: Setup Msys2 - if: matrix.os == 'windows-19' + if: matrix.os == 'windows-2019' uses: msys2/setup-msys2@v2 with: msystem: MINGW64

@@ -85,7 +85,7 @@ # Build for Windows

- name: Build (Windows) shell: msys2 {0} run: nimble build -v -y -d:release --mm:refc --opt:size -d:ssl --gcc.exe:x86_64-w64-mingw32-gcc --gcc.linkerexe:x86_64-w64-mingw32-gcc min - if: matrix.os == 'windows-19' + if: matrix.os == 'windows-2019' # UPX compress (Linux) - name: UPX

@@ -103,7 +103,7 @@ with:

files: | min.exe args: --best --force - if: matrix.os == 'windows-19' + if: matrix.os == 'windows-2019' # Retrieve ID and Name of the current (draft) release - name: "Get current release"

@@ -122,7 +122,7 @@

# Package the resulting Windows binary - name: Create artifact (Windows) run: Compress-Archive -Path min.exe -DestinationPath min_${{steps.current-release.outputs.tag_name}}_windows_x64.zip - if: matrix.os == 'windows-19' + if: matrix.os == 'windows-2019' # Upload artifacts to current draft release - name: "Upload to current release"