From 70bba37ea0022b15adc354dd612959d781186600 Mon Sep 17 00:00:00 2001 From: zarik5 Date: Sat, 6 Jul 2024 22:05:15 +0200 Subject: [PATCH] feat(ci): :sparkles: Build launcher for stable release (#2231) --- .github/workflows/prepare-release.yml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index c1c61a46f8..7f126929d7 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -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 }} @@ -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 @@ -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 }} @@ -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