mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 03:52:10 +08:00
Add oathtool to ubuntu package list in plat.conf
This commit is contained in:
6
.github/workflows/DNS.yml
vendored
6
.github/workflows/DNS.yml
vendored
@@ -69,11 +69,11 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Clone acmetest
|
||||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
|
||||
- name: Patch acmetest to install oathtool in container
|
||||
- name: Add oathtool to ubuntu package list
|
||||
run: |
|
||||
cd ../acmetest
|
||||
# Add oathtool installation before the test runs inside container
|
||||
sed -i '/^_setup() {$/a \ if command -v apt-get >/dev/null 2>&1; then\n apt-get update -qq && apt-get install -y -qq oathtool >/dev/null 2>&1 || true\n fi' letest.sh
|
||||
# Add oathtool to the ubuntu platform package list
|
||||
sed -i 's/unzip,openssl,cron,socat,curl,idn,wget/unzip,openssl,cron,socat,curl,idn,wget,oathtool/' plat.conf
|
||||
- name: Set env file
|
||||
run: |
|
||||
cd ../acmetest
|
||||
|
||||
Reference in New Issue
Block a user