Skip to content

Commit

Permalink
Remove release build trigger #853
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Dec 7, 2024
1 parent 6732edd commit 53bf676
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
- '*'
pull_request:
branches: [ master ]
release:
types: [published]

env:
VERSION: 2.2.0
Expand Down Expand Up @@ -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:
Expand All @@ -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: |
Expand All @@ -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: |
Expand All @@ -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: |
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/cmake.yml.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
- '*'
pull_request:
branches: [ master ]
release:
types: [published]

env:
VERSION: @VERSION@
Expand Down Expand Up @@ -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:
Expand All @@ -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: |
Expand All @@ -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: |
Expand All @@ -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: |
Expand Down

0 comments on commit 53bf676

Please sign in to comment.