You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
905 B

4 years ago
  1. name: LetsEncrypt
  2. on: [push, pull_request]
  3. jobs:
  4. Ubuntu:
  5. runs-on: ubuntu-latest
  6. env:
  7. NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
  8. steps:
  9. - uses: actions/checkout@v2
  10. - name: Install tools
  11. run: sudo apt-get install -y socat
  12. - name: Clone acmetest
  13. run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  14. - name: Run acmetest
  15. run: cd ../acmetest && ./letest.sh
  16. MacOS:
  17. needs: Ubuntu
  18. runs-on: macos-latest
  19. env:
  20. NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
  21. steps:
  22. - uses: actions/checkout@v2
  23. - name: Install tools
  24. run: brew update && brew install socat;
  25. - name: Clone acmetest
  26. run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  27. - name: Run acmetest
  28. run: cd ../acmetest && ./letest.sh