mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
Merge pull request #14962 from nextcloud/ci/noid/fix-server-checkout
ci(openapi): Fix checkout of correct server branch
This commit is contained in:
commit
89c751db3c
1 changed files with 11 additions and 1 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue