summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-07-07 09:26:35 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-07-07 09:26:35 +0200
commite7eb6f36d279df1757fd397f0ae5edb1d90c51ce (patch)
treeca5df053cd1c1100025080e0470029e4534e11e9
parenta3453762b849dbef663cf2f0048fa2c470ade032 (diff)
Update actions/checkout submodule checkoutfix/phpunit-action
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-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