mirror of
https://github.com/nextcloud/spreed.git
synced 2025-07-22 06:48:21 +00:00
ci(openapi): Fix checkout of correct server branch
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
12
.github/workflows/update-nextcloud-openapi.yml
vendored
12
.github/workflows/update-nextcloud-openapi.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user