Skip to content

Commit

Permalink
Merge pull request #1071 from JulianGro/fix_multiple_server_builds
Browse files Browse the repository at this point in the history
Fix GHA building hundreds of servers
  • Loading branch information
JulianGro authored Jul 8, 2024
2 parents 5f5464c + 9c4cfd2 commit ebcd6c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux_server_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ env:

jobs:
build:
# Only run master or tagged builds, or PRs if labeled as "server"
if: contains( github.event.pull_request.labels.*.name, 'server') || github.event_name != 'pull_request'
# Only run master or tagged builds, or PRs when labeled as "server"
if: github.event.label.name == 'server'|| github.event_name != 'pull_request'
name: "${{matrix.os}}, ${{matrix.arch}}"
strategy:
matrix:
Expand Down

0 comments on commit ebcd6c0

Please sign in to comment.