Skip to content

Commit 9ce8435

Browse files
committed
ci: Checkout submodule correctly
Signed-off-by: Joas Schilling <[email protected]>
1 parent 55f00a6 commit 9ce8435

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/integration.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,13 @@ jobs:
6060
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6161
with:
6262
persist-credentials: false
63+
submodules: recursive
6364
repository: nextcloud/server
6465
ref: ${{ matrix.server-versions }}
6566

66-
- name: Checkout submodules
67-
shell: bash
68-
run: |
69-
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
70-
git submodule sync --recursive
71-
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
72-
cd build/integration && composer require --dev phpunit/phpunit:~9
67+
- name: Set up integration dependencies
68+
working-directory: build/integration
69+
run: composer require --dev phpunit/phpunit:~9
7370

7471
- name: Checkout app
7572
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)