mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-05 22:11:46 +00:00
30 lines
905 B
YAML
30 lines
905 B
YAML
|
name: LetsEncrypt
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
Ubuntu:
|
||
|
runs-on: ubuntu-latest
|
||
|
env:
|
||
|
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Install tools
|
||
|
run: sudo apt-get install -y socat
|
||
|
- name: Clone acmetest
|
||
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
|
||
|
- name: Run acmetest
|
||
|
run: cd ../acmetest && ./letest.sh
|
||
|
|
||
|
MacOS:
|
||
|
needs: Ubuntu
|
||
|
runs-on: macos-latest
|
||
|
env:
|
||
|
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Install tools
|
||
|
run: brew update && brew install socat;
|
||
|
- name: Clone acmetest
|
||
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
|
||
|
- name: Run acmetest
|
||
|
run: cd ../acmetest && ./letest.sh
|