From 7894429f06b61d44fbe1037f771359aff3c5a9e3 Mon Sep 17 00:00:00 2001 From: BlueCyro Date: Mon, 9 Sep 2024 23:42:20 -0500 Subject: [PATCH] Fix duplicate directory creation --- .github/workflows/build-linux-windows.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-linux-windows.yml b/.github/workflows/build-linux-windows.yml index 8362310..ecb9e71 100644 --- a/.github/workflows/build-linux-windows.yml +++ b/.github/workflows/build-linux-windows.yml @@ -21,6 +21,9 @@ jobs: id: buildoutput run: echo "build-output-dir=${{ github.workspace }}/OutputFiles" >> "$GITHUB_OUTPUT" + - name: Make runtimes directory for windows/linux + run: mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes + - name: Make output directory run: mkdir ${{ steps.buildoutput.outputs.build-output-dir }} @@ -32,7 +35,6 @@ jobs: - name: Move Linux library to output run: | - mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/linux-x64 mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/linux-x64/native mv libsoundpipe.so ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/linux-x64/native @@ -46,7 +48,6 @@ jobs: - name: Move Windows library to output run: | - mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/win-x64 mkdir ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/win-x64/native mv libsoundpipe.dll ${{ steps.buildoutput.outputs.build-output-dir }}/runtimes/win-x64/native