ftp ci improvements

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/27194/head
Robin Appelman 3 years ago
parent 7d582cb489
commit a3f1d10f4d
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB

@ -29,13 +29,8 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v2
- 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
with:
submodules: true
- name: Set up ftpd
run: |
@ -71,3 +66,13 @@ jobs:
if: always()
run: |
docker logs ftp
ftp-summary:
runs-on: ubuntu-latest
needs: ftp-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.ftp-tests.result != 'success' }}; then exit 1; fi

@ -103,7 +103,7 @@ class FTP extends Common {
public static function checkDependencies() {
if (function_exists('ftp_login')) {
return (true);
return true;
} else {
return ['ftp'];
}

Loading…
Cancel
Save