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