Skip to content

Commit

Permalink
Fix duplicate directory creation
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueCyro committed Sep 10, 2024
1 parent 15ff266 commit 7894429
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-linux-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7894429

Please sign in to comment.