diff options
author | Robin Appelman <robin@icewind.nl> | 2021-10-07 19:47:13 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-10-07 19:47:13 +0300 |
commit | a3f1d10f4d6a09d2e3a706ab05cd933505d76630 (patch) | |
tree | 8d6463718d96800dc42e1690f2784ce129fff98d /.github/workflows | |
parent | 7d582cb489399047c53b07056a525e7c3d0f87fc (diff) |
ftp ci improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ftp.yml | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/.github/workflows/ftp.yml b/.github/workflows/ftp.yml index e67bd12693a..87e66badd77 100644 --- a/.github/workflows/ftp.yml +++ b/.github/workflows/ftp.yml @@ -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 |