Skip to content

Commit

Permalink
workflows updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mortido committed Apr 12, 2024
1 parent bfdeb45 commit af130d8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 5 additions & 3 deletions .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit af130d8

Please sign in to comment.