summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/phpunit.yml24
1 files changed, 3 insertions, 21 deletions
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml
index e80b3610..cab09ed8 100644
--- a/.github/workflows/phpunit.yml
+++ b/.github/workflows/phpunit.yml
@@ -30,13 +30,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
-
- - name: Checkout submodules
- shell: bash
- run: |
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
- git submodule sync --recursive
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
+ submodules: true
- name: Checkout app
uses: actions/checkout@v2
@@ -105,13 +99,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
-
- - name: Checkout submodules
- shell: bash
- run: |
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
- git submodule sync --recursive
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
+ submodules: true
- name: Checkout app
uses: actions/checkout@v2
@@ -177,13 +165,7 @@ jobs:
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
-
- - name: Checkout submodules
- shell: bash
- run: |
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
- git submodule sync --recursive
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
+ submodules: true
- name: Checkout app
uses: actions/checkout@v2