calling a reusable workflow must be done in a seperate job

we can use the needs keyword to ensure it serializes the build
This commit is contained in:
Neo 2023-07-09 05:58:26 -07:00
parent 38f17cdea5
commit b71923677f

View File

@ -27,8 +27,12 @@ on:
branches: [ "master" ]
jobs:
build-djgpp:
uses: ./.github/workflows/dos-djgpp.yml
build:
runs-on: windows-latest
needs: build-djgpp
strategy:
matrix:
include:
@ -65,10 +69,6 @@ jobs:
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Run DJGPP Compilation
if: ${{ matrix.arch }} == "Win32"
uses: ./.github/workflows/dos-djgpp.yml
- name: Download UMSKT-DJGPP compiled artifact
if: ${{ matrix.arch }} == "Win32"
uses: actions/download-artifact@v3