From d98a97f5fec177329942e7722f5515cca2de7143 Mon Sep 17 00:00:00 2001 From: Dominic Springer Date: Sun, 1 Nov 2026 09:54:58 +0100 Subject: [PATCH] Use cached Alpine runner for Mono Windows EXE build --- .gitea/workflows/linux-source-checks.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/linux-source-checks.yaml b/.gitea/workflows/linux-source-checks.yaml index 41f5063..22274c3 100644 --- a/.gitea/workflows/linux-source-checks.yaml +++ b/.gitea/workflows/linux-source-checks.yaml @@ -11,14 +11,11 @@ jobs: source-checks-and-build: runs-on: ubuntu-24.04 container: - image: node:20-bookworm-slim + image: node:20-alpine steps: - name: Install Git and Mono compiler - run: | - apt-get update - apt-get install -y --no-install-recommends git mono-devel - rm -rf /var/lib/apt/lists/* - shell: bash + run: apk add --no-cache git mono + shell: sh - name: Check out repository uses: actions/checkout@v4 @@ -27,14 +24,14 @@ jobs: - name: Check latest commit for whitespace errors run: git show --check --oneline HEAD - shell: bash + shell: sh - name: Build Windows Forms EXE with Mono run: | mkdir -p release mcs -target:winexe -optimize+ -out:release/TAP-Uploader.exe -r:System.Windows.Forms.dll -r:System.Drawing.dll uploader/TapUploader.cs test -s release/TAP-Uploader.exe - shell: bash + shell: sh - name: Upload Windows EXE artifact uses: actions/upload-artifact@v4