Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): ✨ Build launcher for stable release #2231

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ jobs:
run: |
cargo xtask prepare-deps --platform windows --ci
cargo xtask package-streamer --gpl
cargo xtask package-launcher

- name: Upload portable streamer for Windows
- name: Upload streamer
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -99,6 +100,15 @@ jobs:
asset_path: ./build/alvr_streamer_windows.zip
asset_name: alvr_streamer_windows.zip
asset_content_type: application/zip
- name: Upload launcher
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.prepare_release.outputs.upload_url }}
asset_path: ./build/alvr_launcher_windows.zip
asset_name: alvr_launcher_windows.zip
asset_content_type: application/zip

build_linux_streamer:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -128,9 +138,11 @@ jobs:
id: build
env:
RUST_BACKTRACE: 1
run: cargo xtask package-streamer --gpl
run: |
cargo xtask package-streamer --gpl
cargo xtask package-launcher

- name: Upload streamer for Linux
- name: Upload streamer (tar.gz)
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -139,6 +151,15 @@ jobs:
asset_path: ./build/alvr_streamer_linux.tar.gz
asset_name: alvr_streamer_linux.tar.gz
asset_content_type: application/gzip
- name: Upload launcher
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.prepare_release.outputs.upload_url }}
asset_path: ./build/alvr_launcher_linux.tar.gz
asset_name: alvr_launcher_linux.tar.gz
asset_content_type: application/gzip

build_flatpak_bundle:
runs-on: ubuntu-latest
Expand Down
Loading