From af130d86d7b988a759b12232e1495b0225e0609f Mon Sep 17 00:00:00 2001 From: mortido Date: Fri, 12 Apr 2024 14:51:29 +0200 Subject: [PATCH] workflows updated --- .github/workflows/linux_build.yml | 11 ++++++++--- .github/workflows/macos_build.yml | 8 +++++--- .github/workflows/windows_build.yml | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml index cf7d8c78..14440693 100644 --- a/.github/workflows/linux_build.yml +++ b/.github/workflows/linux_build.yml @@ -27,13 +27,18 @@ jobs: mkdir ./build/Release cp -R ./resources ./build/Release cp ./build/rewind-viewer ./build/Release/ - chmod +x ./build/Release/rewind-viewer shell: bash + - name: Install Zip utils + run: sudo apt-get update -y && sudo apt-get install -y zip + + - name: Create zip archive + run: zip -r rewind-viewer_dev_linux.zip ./build/Release/ + - name: Upload Binaries if: ${{ always() }} # TODO: only on release tag. uses: actions/upload-artifact@v4 with: - name: rewind-viewer-linux - path: build/Release + name: rewind-viewer_dev_linux + path: rewind-viewer_dev_linux.zip retention-days: 3 diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml index d8a841c6..15680c88 100644 --- a/.github/workflows/macos_build.yml +++ b/.github/workflows/macos_build.yml @@ -22,13 +22,15 @@ jobs: mkdir ./build/Release cp -R ./resources ./build/Release cp ./build/rewind-viewer ./build/Release/ - chmod +x ./build/Release/rewind-viewer shell: bash + - name: Create zip archive + run: zip -r rewind-viewer_dev_macos.zip ./build/Release/ + - name: Upload Binaries if: ${{ always() }} # TODO: only on release tag. uses: actions/upload-artifact@v4 with: - name: rewind-viewer-macos - path: build/Release + name: rewind-viewer_dev_macos + path: rewind-viewer_dev_macos.zip retention-days: 3 diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 2be3552b..716c11b1 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -26,6 +26,6 @@ jobs: if: ${{ always() }} # TODO: only on release tag. uses: actions/upload-artifact@v4 with: - name: rewind-viewer-windows + name: rewind-viewer_dev_windows path: build/Release retention-days: 3