Skip to content

Commit

Permalink
Add PR on-label build action triggers (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Mar 25, 2024
1 parent 950d5c6 commit 0f89f17
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/on-label-linux-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: PR Linux Build

on:
workflow_dispatch:
pull_request:
types: [ labeled ]

jobs:
call-linux-build:
if: ${{ github.event.label.name == 'build-linux' }}
name: Linux Build
uses: ./.github/workflows/linux-build.yml
12 changes: 12 additions & 0 deletions .github/workflows/on-label-win-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: PR Windows Build

on:
workflow_dispatch:
pull_request:
types: [ labeled ]

jobs:
call-windows-build:
if: ${{ github.event.label.name == 'build-win' }}
name: Windows Build
uses: ./.github/workflows/win-build.yml

0 comments on commit 0f89f17

Please sign in to comment.