From e73736b4423b0867963b42d614acd119339716be Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Sun, 29 Sep 2024 14:51:09 +0200 Subject: [PATCH] Fix MAcOS release artifacts --- .github/workflows/Release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 58383274..3a2468ce 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -35,13 +35,20 @@ jobs: run: scripts/darwin/install.sh - name: Build project run: scripts/darwin/build.sh + - name: Artifact Creation + run: | + cd /Users/runner/work/dlt-viewer/dlt-viewer/build + mkdir -p dist + cp ../scripts/darwin/install.md dist + tar -czvf "dist/DLTViewer.tgz" -C /Users/runner/work/dlt-viewer/dlt-viewer/build/install . - name: Archive artifact run: zip DLT-macOS-${{ matrix.abi }}.zip -r build/dist - - name: Upload DLT artifact + - name: Archive artifact uses: actions/upload-artifact@v4 + if: ${{ success() }} with: name: DLT-Mac-${{ matrix.abi }} - path: DLT-macOS-${{ matrix.abi }}.zip + path: build/dist/DLTViewer*.tgz buildLinux: name: Build ${{ matrix.ubuntu }}