name: Linux Source Checks and Windows EXE Build on: push: pull_request: permissions: contents: read jobs: source-checks-and-build: runs-on: ubuntu-24.04 container: image: node:20-alpine steps: - name: Install Git and Mono compiler run: apk add --no-cache git mono shell: sh - name: Check out repository uses: actions/checkout@v4 with: fetch-depth: 0 - name: Check latest commit for whitespace errors run: git show --check --oneline HEAD 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: sh - name: Upload Windows EXE artifact uses: christopherhx/gitea-upload-artifact@v4 with: name: TAP-Uploader-Windows path: release/TAP-Uploader.exe if-no-files-found: error