ci: create build-all.yml to kick off all builds

This commit is contained in:
Brad Parham 2023-01-30 11:44:06 +01:00
parent bef28786f5
commit 4be7c66b61
6 changed files with 53 additions and 0 deletions

48
.github/workflows/build-all.yml vendored Normal file
View File

@ -0,0 +1,48 @@
name: Build All Latest Assets
on:
workflow_dispatch:
jobs:
build-alpine:
uses: ./.github/workflows/build-alpine.yml
build-linux:
uses: ./.github/workflows/build-linux.yml
build-linuxstatic:
uses: ./.github/workflows/build-linuxstatic.yml
build-macos:
uses: ./.github/workflows/build-macos.yml
build-windows:
uses: ./.github/workflows/build-windows.yml
collect-artifacts:
runs-on: ubuntu-latest
needs: [build-alpine, build-linux, build-linuxstatic, build-macos, build-windows]
steps:
- run: echo Finished with builds
- name: Download workflow artifacts
uses: dawidd6/action-download-artifact@v2.24.3
with:
workflow: build-alpine.yml
path: artifacts
- name: Download workflow artifacts
uses: dawidd6/action-download-artifact@v2.24.3
with:
workflow: build-linux.yml
path: artifacts
- name: Download workflow artifacts
uses: dawidd6/action-download-artifact@v2.24.3
with:
workflow: build-linuxstatic.yml
path: artifacts
- name: Download workflow artifacts
uses: dawidd6/action-download-artifact@v2.24.3
with:
workflow: build-macos.yml
path: artifacts
- name: Download workflow artifacts
uses: dawidd6/action-download-artifact@v2.24.3
with:
workflow: build-windows.yml
path: artifacts
- run: ls -laR artifacts

View File

@ -2,6 +2,7 @@ name: Build Node binaries for Alpine
on:
workflow_dispatch:
workflow_call:
jobs:
alpine:

View File

@ -2,6 +2,7 @@ name: Build Node binaries for Linux
on:
workflow_dispatch:
workflow_call:
jobs:
linux-x64:

View File

@ -2,6 +2,7 @@ name: Build Node binaries for Linux static
on:
workflow_dispatch:
workflow_call:
jobs:
linuxstatic:

View File

@ -2,6 +2,7 @@ name: Build Node binaries for macOS
on:
workflow_dispatch:
workflow_call:
jobs:
macos-x64:

View File

@ -2,6 +2,7 @@ name: Build Node binaries for Windows
on:
workflow_dispatch:
workflow_call:
jobs:
windows-vs2019: