From 53bf676868f8e7038531e828df4cbe1668c20527 Mon Sep 17 00:00:00 2001 From: Cong Date: Sat, 7 Dec 2024 15:34:03 +1100 Subject: [PATCH] Remove release build trigger #853 --- .github/workflows/cmake.yml | 14 ++++---------- .github/workflows/cmake.yml.cmake | 14 ++++---------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index faa85983f..1b60cf446 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -7,8 +7,6 @@ on: - '*' pull_request: branches: [ master ] - release: - types: [published] env: VERSION: 2.2.0 @@ -136,8 +134,7 @@ jobs: uses: softprops/action-gh-release@v1 if: > startsWith(github.ref, 'refs/tags/') && - (!startsWith(matrix.os, 'ubuntu') || (matrix.cc == 'gcc' && matrix.cc_version == 'latest')) && - github.event.release.published + (!startsWith(matrix.os, 'ubuntu') || (matrix.cc == 'gcc' && matrix.cc_version == 'latest')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -149,8 +146,7 @@ jobs: startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'ubuntu') && matrix.cc == 'gcc' && - matrix.cc_version == 'latest' && - github.event.release.published + matrix.cc_version == 'latest' env: BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} run: | @@ -163,8 +159,7 @@ jobs: - name: Publish to itch.io (macOS) if: > startsWith(github.ref, 'refs/tags/') && - matrix.os == 'macos-latest' && - github.event.release.published + matrix.os == 'macos-latest' env: BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} run: | @@ -177,8 +172,7 @@ jobs: - name: Publish to itch.io (Windows) if: > startsWith(github.ref, 'refs/tags/') && - matrix.os == 'windows-latest' && - github.event.release.published + matrix.os == 'windows-latest' env: BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} run: | diff --git a/.github/workflows/cmake.yml.cmake b/.github/workflows/cmake.yml.cmake index bf00045b9..4f5669199 100644 --- a/.github/workflows/cmake.yml.cmake +++ b/.github/workflows/cmake.yml.cmake @@ -7,8 +7,6 @@ on: - '*' pull_request: branches: [ master ] - release: - types: [published] env: VERSION: @VERSION@ @@ -136,8 +134,7 @@ jobs: uses: softprops/action-gh-release@v1 if: > startsWith(github.ref, 'refs/tags/') && - (!startsWith(matrix.os, 'ubuntu') || (matrix.cc == 'gcc' && matrix.cc_version == 'latest')) && - github.event.release.published + (!startsWith(matrix.os, 'ubuntu') || (matrix.cc == 'gcc' && matrix.cc_version == 'latest')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -149,8 +146,7 @@ jobs: startsWith(github.ref, 'refs/tags/') && startsWith(matrix.os, 'ubuntu') && matrix.cc == 'gcc' && - matrix.cc_version == 'latest' && - github.event.release.published + matrix.cc_version == 'latest' env: BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} run: | @@ -163,8 +159,7 @@ jobs: - name: Publish to itch.io (macOS) if: > startsWith(github.ref, 'refs/tags/') && - matrix.os == 'macos-latest' && - github.event.release.published + matrix.os == 'macos-latest' env: BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} run: | @@ -177,8 +172,7 @@ jobs: - name: Publish to itch.io (Windows) if: > startsWith(github.ref, 'refs/tags/') && - matrix.os == 'windows-latest' && - github.event.release.published + matrix.os == 'windows-latest' env: BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} run: |