From 5f2927e00c406dcc5e1c3a68c9ac01f5b6ffadbc Mon Sep 17 00:00:00 2001 From: OMGeeky <> Date: Thu, 2 Oct 2025 16:59:48 +0200 Subject: [PATCH] switch to linux runner (windows-latest is annoying me with undocumented breaking changes...) --- .github/workflows/release.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c67dee..074c407 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -36,12 +36,16 @@ jobs: cd packaging chmod +x package.sh echo "Building JAR and ZIP for version: ${{ env.VERSION }}" - ./package.sh -windows + ./package.sh echo "Created artifacts:" ls -la common/ATCS.jar ls -la ATCS_${{ env.VERSION }}.zip - - name: Install NSIS + - name: 'Install makensis (apt)' + run: sudo apt update && sudo apt install -y nsis nsis-pluginapi + continue-on-error: true + + - name: Create Windows-Installer with NSIS uses: joncloud/makensis-action@v4 with: script-file: packaging/Windows/ATCS_Installer.nsi @@ -49,7 +53,7 @@ jobs: continue-on-error: true - name: Determine Upload Files - id: upload_files + id: check_files_to_upload shell: bash run: | FILES="./packaging/ATCS_${VERSION}.zip" @@ -65,4 +69,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - files: ${{ steps.upload_files.outputs.files }} + files: ${{ steps.check_files_to_upload.outputs.files }}