Skip to content

Commit

Permalink
Fix paths for unix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr_brt committed Mar 25, 2021
1 parent 0dc573f commit 7f0c492
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ jobs:
- name: Prepare library for zip file
if: matrix.os == 'windows-latest'
shell: pwsh
run: copy sc\* mi-UGens; copy **\build\**.dll build/mi-UGens
run: copy sc\* build\mi-UGens; copy **\build\**.dll build/mi-UGens

# Gather all files in a zip
- name: Zip up build (Unix)
if: matrix.os != 'windows-latest'
shell: bash
run: zip -r mi-UGens-${{runner.os}} build/mi-UGens
run: cd build && zip -r mi-UGens-${{runner.os}} mi-UGens

# Gather all files in a zip
- name: Zip up build (Windows)
if: matrix.os == 'windows-latest'
shell: pwsh
run: Compress-7Zip "build\mi-UGens" -ArchiveFileName "mi-UGens-${{runner.os}}.zip" -Format Zip
run: cd build; Compress-7Zip "mi-UGens" -ArchiveFileName "mi-UGens-${{runner.os}}.zip" -Format Zip

- name: Check if release has been created
uses: mukunku/[email protected]
Expand Down

0 comments on commit 7f0c492

Please sign in to comment.