Skip to content

Commit

Permalink
Switch to modular actions for builds (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Mar 24, 2024
1 parent e4afa3c commit 28167e0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: linux-build
name: Linux Build

on:
push:
workflow_dispatch:
workflow_call:

jobs:
linux-build:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Build

on:
push:
workflow_dispatch:

jobs:
call-windows-build:
name: Windows Build
uses: ./.github/workflows/win-build.yml

call-linux-build:
name: Linux Build
uses: ./.github/workflows/linux-build.yml
7 changes: 4 additions & 3 deletions .github/workflows/win-build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: win-build
name: Windows Build

on:
push:
workflow_dispatch:
workflow_call:

jobs:
win-build:
runs-on: self-hosted

strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 28167e0

Please sign in to comment.