Reduce acmetest git clone depth to speed up CI pipeline

This commit is contained in:
Peter Dave Hello
2022-10-17 18:49:10 +08:00
parent 1c16931e26
commit 424da01878
11 changed files with 19 additions and 19 deletions

View File

@@ -54,7 +54,7 @@ jobs:
- name: Set envs
run: echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
- name: Clone acmetest
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
- uses: vmactions/netbsd-vm@v0
with:
envs: 'TEST_LOCAL TestingDomain TEST_ACME_Server CA_ECDSA CA CA_EMAIL TEST_PREFERRED_CHAIN'