From 3368ee4f91ef9c9e60b39af19243fc91b147d334 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Sun, 3 Nov 2024 23:00:00 +0100 Subject: [PATCH] Push nightly builds to the meta store NIGHTLY channel --- .github/workflows/Build.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 287cd997..568495cd 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -282,13 +282,23 @@ jobs: retention-days: 30 - name: Push to Oculus store - if: ${{ matrix.buildtype == 'Oculus' && startsWith(github.ref, 'refs/tags/') }} + if: ${{ matrix.buildtype == 'Oculus' && (startsWith(github.ref, 'refs/tags/') || github.branch == 'master') }} env: OCULUS_TOKEN: ${{ secrets.OCULUS_TOKEN }} run: | curl -L 'https://www.oculus.com/download_app/?id=5159709737372459' -o ovr-platform-util chmod +x ovr-platform-util - ./ovr-platform-util upload-quest-build --app-id 7959676140827574 --token $OCULUS_TOKEN --apk apk/WiVRn-standard-oculus.apk --channel ALPHA --age-group TEENS_AND_ADULTS --draft --debug_symbols_dir debug/ --debug-symbols-pattern '*.so' + + if [ ${{ github.ref_type }} = 'tag' ] + then + CHANNEL=RC + IS_DRAFT=--draft + else + CHANNEL=NIGHTLY + IS_DRAFT= + fi + + ./ovr-platform-util upload-quest-build --app-id 7959676140827574 --token $OCULUS_TOKEN --apk apk/WiVRn-standard-oculus.apk --channel $CHANNEL --age-group TEENS_AND_ADULTS $IS_DRAFT --debug_symbols_dir debug/ --debug-symbols-pattern '*.so' build-ubuntu: name: Build Ubuntu package