From b71923677fb00df8065cc82e39c886e4da0db867 Mon Sep 17 00:00:00 2001 From: Neo <321592+Neo-Desktop@users.noreply.github.com> Date: Sun, 9 Jul 2023 05:58:26 -0700 Subject: [PATCH] calling a reusable workflow must be done in a seperate job we can use the needs keyword to ensure it serializes the build --- .github/workflows/windows.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b3fd01c..2040501 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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