From 5a0f89384b07b9842f99fd800cebea3931bb2b4c Mon Sep 17 00:00:00 2001 From: Avery Black Date: Tue, 8 Oct 2024 21:37:42 -0700 Subject: [PATCH] Fix copying kext and nonexistant dsym on debug --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a91f5a..7db7a64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,14 +53,13 @@ jobs: working-directory: ${{ github.workspace }}/build/Build/Products/Release/ run: | cp -r ${{ github.workspace }}/Dependencies/VoodooSMBus/build/Release/*.dSYM dSYM/ | - cp -r ${{ github.workspace }}/Dependencies/VoodooSMBus/build/Release/*.kext . | + cp -r ${{ github.workspace }}/Dependencies/VoodooSMBus/build/Release/*.kext ./ | zip -ur *.zip dSYM/ *.kext - name: Zip Debug working-directory: ${{ github.workspace }}/build/Build/Products/Debug/ run: | - cp -r ${{ github.workspace }}/Dependencies/VoodooSMBus/build/Debug/*.dSYM dSYM/ | - cp -r ${{ github.workspace }}/Dependencies/VoodooSMBus/build/Debug/*.kext . | - zip -ur *.zip dSYM/ *.kext + cp -r ${{ github.workspace }}/Dependencies/VoodooSMBus/build/Debug/*.kext ./ | + zip -ur *.zip *.kext - uses: svenstaro/upload-release-action@v2 if: github.event_name == 'release'