@@ -576,12 +576,20 @@ jobs:
576576 kill -15 $(cat /tmp/_install.pid)
577577 timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null
578578
579+ - name : Talk Branch Main
580+ if : ${{ startsWith(matrix.nextcloud, 'master') }}
581+ run : echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
582+
583+ - name : Talk Branch Other
584+ if : ${{ !startsWith(matrix.nextcloud, 'master') }}
585+ run : echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
586+
579587 - name : Checkout Talk
580588 uses : actions/checkout@v4
581589 with :
582590 path : apps/spreed
583591 repository : nextcloud/spreed
584- ref : ${{ matrix.nextcloud }}
592+ ref : ${{ env.TALK_BRANCH_NAME }}
585593
586594 - name : Install Talk
587595 working-directory : apps/spreed
@@ -726,12 +734,20 @@ jobs:
726734 kill -15 $(cat /tmp/_install.pid)
727735 timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null
728736
737+ - name : Talk Branch Main
738+ if : ${{ startsWith(matrix.nextcloud, 'master') }}
739+ run : echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
740+
741+ - name : Talk Branch Other
742+ if : ${{ !startsWith(matrix.nextcloud, 'master') }}
743+ run : echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
744+
729745 - name : Checkout Talk
730746 uses : actions/checkout@v4
731747 with :
732748 path : apps/spreed
733749 repository : nextcloud/spreed
734- ref : ${{ matrix.nextcloud }}
750+ ref : ${{ env.TALK_BRANCH_NAME }}
735751
736752 - name : Install Talk
737753 working-directory : apps/spreed
@@ -847,12 +863,20 @@ jobs:
847863 working-directory : nc_py_api
848864 run : python3 -m pip -v install . pytest coverage pillow
849865
866+ - name : Talk Branch Main
867+ if : ${{ startsWith(matrix.nextcloud, 'master') }}
868+ run : echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
869+
870+ - name : Talk Branch Other
871+ if : ${{ !startsWith(matrix.nextcloud, 'master') }}
872+ run : echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
873+
850874 - name : Checkout Talk
851875 uses : actions/checkout@v4
852876 with :
853877 path : apps/spreed
854878 repository : nextcloud/spreed
855- ref : ${{ matrix.nextcloud }}
879+ ref : ${{ env.TALK_BRANCH_NAME }}
856880
857881 - name : Install Talk
858882 working-directory : apps/spreed
0 commit comments