From 9caea1a7f435f2989921a6a6928408e686dbbd95 Mon Sep 17 00:00:00 2001 From: Michal Pelka Date: Sun, 27 Sep 2026 02:12:04 +0200 Subject: [PATCH] Attach only the Windows package to releases The macOS DMG is only ad-hoc signed, so Gatekeeper blocks it after download; macOS and Linux users should build from source. Both workflows still build on push/PR and upload versioned Actions artifacts. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/cmake-linux-deb.yml | 10 ---------- .github/workflows/macos.yml | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/.github/workflows/cmake-linux-deb.yml b/.github/workflows/cmake-linux-deb.yml index bbbe1f62..9dd67cab 100644 --- a/.github/workflows/cmake-linux-deb.yml +++ b/.github/workflows/cmake-linux-deb.yml @@ -7,8 +7,6 @@ on: branches: [ "main" ] pull_request: branches: [ "main" ] - release: - types: [ published ] env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) @@ -20,8 +18,6 @@ jobs: # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix runs-on: ubuntu-24.04 - permissions: - contents: write steps: - name: Load repository cache @@ -63,9 +59,3 @@ jobs: with: name: hd_mapping-deb-${{env.VERSION}} path: ${{github.workspace}}/build/*.deb - - - name: Attach to GitHub release - if: github.event_name == 'release' - uses: softprops/action-gh-release@v2 - with: - files: ${{github.workspace}}/build/*.deb diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3b86f68d..31ed1bc9 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -5,8 +5,6 @@ on: branches: ["main"] pull_request: branches: ["main"] - release: - types: [published] env: BUILD_TYPE: Release @@ -14,8 +12,6 @@ env: jobs: build: runs-on: macos-latest - permissions: - contents: write steps: - uses: actions/checkout@v4 @@ -77,9 +73,3 @@ jobs: path: ${{github.workspace}}/build/HDMapping-${{env.VERSION}}.dmg retention-days: 90 compression-level: 0 - - - name: Attach to GitHub release - if: github.event_name == 'release' - uses: softprops/action-gh-release@v2 - with: - files: ${{github.workspace}}/build/HDMapping-${{env.VERSION}}.dmg