Merge pull request #14962 from nextcloud/ci/noid/fix-server-checkout

ci(openapi): Fix checkout of correct server branch
This commit is contained in:
Joas Schilling 2025-04-28 11:26:45 +02:00 committed by GitHub
commit 89c751db3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,12 +29,22 @@ jobs:
echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
- name: Checkout server
if: ${{ matrix.branches != 'main' }}
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
ref: ${{ matrix.branches }}
- name: Checkout server (Main)
if: ${{ matrix.branches == 'main' }}
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
submodules: true
repository: nextcloud/server
ref: master
- name: Checkout app
id: checkout