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.

465 lines
17 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. name: DNS
  2. on:
  3. push:
  4. paths:
  5. - 'dnsapi/*.sh'
  6. - '.github/workflows/DNS.yml'
  7. pull_request:
  8. branches:
  9. - 'dev'
  10. paths:
  11. - 'dnsapi/*.sh'
  12. - '.github/workflows/DNS.yml'
  13. concurrency:
  14. group: ${{ github.workflow }}-${{ github.ref }}
  15. cancel-in-progress: true
  16. jobs:
  17. CheckToken:
  18. runs-on: ubuntu-latest
  19. outputs:
  20. hasToken: ${{ steps.step_one.outputs.hasToken }}
  21. steps:
  22. - name: Set the value
  23. id: step_one
  24. run: |
  25. if [ "${{secrets.TokenName1}}" ] ; then
  26. echo "::set-output name=hasToken::true"
  27. else
  28. echo "::set-output name=hasToken::false"
  29. fi
  30. - name: Check the value
  31. run: echo ${{ steps.step_one.outputs.hasToken }}
  32. Fail:
  33. runs-on: ubuntu-latest
  34. needs: CheckToken
  35. if: "contains(needs.CheckToken.outputs.hasToken, 'false')"
  36. steps:
  37. - name: "Read this: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
  38. run: |
  39. echo "Read this: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
  40. if [ "${{github.repository_owner}}" != "acmesh-official" ]; then
  41. false
  42. fi
  43. Docker:
  44. runs-on: ubuntu-latest
  45. needs: CheckToken
  46. if: "contains(needs.CheckToken.outputs.hasToken, 'true')"
  47. env:
  48. TEST_DNS : ${{ secrets.TEST_DNS }}
  49. TestingDomain: ${{ secrets.TestingDomain }}
  50. TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }}
  51. TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }}
  52. TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }}
  53. CASE: le_test_dnsapi
  54. TEST_LOCAL: 1
  55. DEBUG: ${{ secrets.DEBUG }}
  56. http_proxy: ${{ secrets.http_proxy }}
  57. https_proxy: ${{ secrets.https_proxy }}
  58. TokenName1: ${{ secrets.TokenName1}}
  59. TokenName2: ${{ secrets.TokenName2}}
  60. TokenName3: ${{ secrets.TokenName3}}
  61. TokenName4: ${{ secrets.TokenName4}}
  62. TokenName5: ${{ secrets.TokenName5}}
  63. steps:
  64. - uses: actions/checkout@v3
  65. - name: Clone acmetest
  66. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  67. - name: Set env file
  68. run: |
  69. cd ../acmetest
  70. if [ "${{ secrets.TokenName1}}" ] ; then
  71. echo "${{ secrets.TokenName1}}=${{ secrets.TokenValue1}}" >> docker.env
  72. fi
  73. if [ "${{ secrets.TokenName2}}" ] ; then
  74. echo "${{ secrets.TokenName2}}=${{ secrets.TokenValue2}}" >> docker.env
  75. fi
  76. if [ "${{ secrets.TokenName3}}" ] ; then
  77. echo "${{ secrets.TokenName3}}=${{ secrets.TokenValue3}}" >> docker.env
  78. fi
  79. if [ "${{ secrets.TokenName4}}" ] ; then
  80. echo "${{ secrets.TokenName4}}=${{ secrets.TokenValue4}}" >> docker.env
  81. fi
  82. if [ "${{ secrets.TokenName5}}" ] ; then
  83. echo "${{ secrets.TokenName5}}=${{ secrets.TokenValue5}}" >> docker.env
  84. fi
  85. - name: Run acmetest
  86. run: cd ../acmetest && ./rundocker.sh testall
  87. MacOS:
  88. runs-on: macos-latest
  89. needs: Docker
  90. env:
  91. TEST_DNS : ${{ secrets.TEST_DNS }}
  92. TestingDomain: ${{ secrets.TestingDomain }}
  93. TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }}
  94. TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }}
  95. TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }}
  96. CASE: le_test_dnsapi
  97. TEST_LOCAL: 1
  98. DEBUG: ${{ secrets.DEBUG }}
  99. http_proxy: ${{ secrets.http_proxy }}
  100. https_proxy: ${{ secrets.https_proxy }}
  101. TokenName1: ${{ secrets.TokenName1}}
  102. TokenName2: ${{ secrets.TokenName2}}
  103. TokenName3: ${{ secrets.TokenName3}}
  104. TokenName4: ${{ secrets.TokenName4}}
  105. TokenName5: ${{ secrets.TokenName5}}
  106. steps:
  107. - uses: actions/checkout@v3
  108. - name: Install tools
  109. run: brew install socat
  110. - name: Clone acmetest
  111. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  112. - name: Run acmetest
  113. run: |
  114. if [ "${{ secrets.TokenName1}}" ] ; then
  115. export ${{ secrets.TokenName1}}="${{ secrets.TokenValue1}}"
  116. fi
  117. if [ "${{ secrets.TokenName2}}" ] ; then
  118. export ${{ secrets.TokenName2}}="${{ secrets.TokenValue2}}"
  119. fi
  120. if [ "${{ secrets.TokenName3}}" ] ; then
  121. export ${{ secrets.TokenName3}}="${{ secrets.TokenValue3}}"
  122. fi
  123. if [ "${{ secrets.TokenName4}}" ] ; then
  124. export ${{ secrets.TokenName4}}="${{ secrets.TokenValue4}}"
  125. fi
  126. if [ "${{ secrets.TokenName5}}" ] ; then
  127. export ${{ secrets.TokenName5}}="${{ secrets.TokenValue5}}"
  128. fi
  129. cd ../acmetest
  130. ./letest.sh
  131. Windows:
  132. runs-on: windows-latest
  133. needs: MacOS
  134. env:
  135. TEST_DNS : ${{ secrets.TEST_DNS }}
  136. TestingDomain: ${{ secrets.TestingDomain }}
  137. TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }}
  138. TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }}
  139. TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }}
  140. CASE: le_test_dnsapi
  141. TEST_LOCAL: 1
  142. DEBUG: ${{ secrets.DEBUG }}
  143. http_proxy: ${{ secrets.http_proxy }}
  144. https_proxy: ${{ secrets.https_proxy }}
  145. TokenName1: ${{ secrets.TokenName1}}
  146. TokenName2: ${{ secrets.TokenName2}}
  147. TokenName3: ${{ secrets.TokenName3}}
  148. TokenName4: ${{ secrets.TokenName4}}
  149. TokenName5: ${{ secrets.TokenName5}}
  150. steps:
  151. - name: Set git to use LF
  152. run: |
  153. git config --global core.autocrlf false
  154. - uses: actions/checkout@v3
  155. - name: Install cygwin base packages with chocolatey
  156. run: |
  157. choco config get cacheLocation
  158. choco install --no-progress cygwin
  159. shell: cmd
  160. - name: Install cygwin additional packages
  161. run: |
  162. C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s https://mirrors.kernel.org/sourceware/cygwin/ -P socat,curl,cron,unzip,git
  163. shell: cmd
  164. - name: Set ENV
  165. shell: cmd
  166. run: |
  167. echo PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin >> %GITHUB_ENV%
  168. - name: Clone acmetest
  169. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  170. - name: Run acmetest
  171. shell: bash
  172. run: |
  173. if [ "${{ secrets.TokenName1}}" ] ; then
  174. export ${{ secrets.TokenName1}}="${{ secrets.TokenValue1}}"
  175. fi
  176. if [ "${{ secrets.TokenName2}}" ] ; then
  177. export ${{ secrets.TokenName2}}="${{ secrets.TokenValue2}}"
  178. fi
  179. if [ "${{ secrets.TokenName3}}" ] ; then
  180. export ${{ secrets.TokenName3}}="${{ secrets.TokenValue3}}"
  181. fi
  182. if [ "${{ secrets.TokenName4}}" ] ; then
  183. export ${{ secrets.TokenName4}}="${{ secrets.TokenValue4}}"
  184. fi
  185. if [ "${{ secrets.TokenName5}}" ] ; then
  186. export ${{ secrets.TokenName5}}="${{ secrets.TokenValue5}}"
  187. fi
  188. cd ../acmetest
  189. ./letest.sh
  190. FreeBSD:
  191. runs-on: macos-12
  192. needs: Windows
  193. env:
  194. TEST_DNS : ${{ secrets.TEST_DNS }}
  195. TestingDomain: ${{ secrets.TestingDomain }}
  196. TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }}
  197. TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }}
  198. TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }}
  199. CASE: le_test_dnsapi
  200. TEST_LOCAL: 1
  201. DEBUG: ${{ secrets.DEBUG }}
  202. http_proxy: ${{ secrets.http_proxy }}
  203. https_proxy: ${{ secrets.https_proxy }}
  204. TokenName1: ${{ secrets.TokenName1}}
  205. TokenName2: ${{ secrets.TokenName2}}
  206. TokenName3: ${{ secrets.TokenName3}}
  207. TokenName4: ${{ secrets.TokenName4}}
  208. TokenName5: ${{ secrets.TokenName5}}
  209. steps:
  210. - uses: actions/checkout@v3
  211. - name: Clone acmetest
  212. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  213. - uses: vmactions/freebsd-vm@v0
  214. with:
  215. envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}'
  216. prepare: pkg install -y socat curl
  217. usesh: true
  218. copyback: false
  219. run: |
  220. if [ "${{ secrets.TokenName1}}" ] ; then
  221. export ${{ secrets.TokenName1}}="${{ secrets.TokenValue1}}"
  222. fi
  223. if [ "${{ secrets.TokenName2}}" ] ; then
  224. export ${{ secrets.TokenName2}}="${{ secrets.TokenValue2}}"
  225. fi
  226. if [ "${{ secrets.TokenName3}}" ] ; then
  227. export ${{ secrets.TokenName3}}="${{ secrets.TokenValue3}}"
  228. fi
  229. if [ "${{ secrets.TokenName4}}" ] ; then
  230. export ${{ secrets.TokenName4}}="${{ secrets.TokenValue4}}"
  231. fi
  232. if [ "${{ secrets.TokenName5}}" ] ; then
  233. export ${{ secrets.TokenName5}}="${{ secrets.TokenValue5}}"
  234. fi
  235. cd ../acmetest
  236. ./letest.sh
  237. OpenBSD:
  238. runs-on: macos-12
  239. needs: FreeBSD
  240. env:
  241. TEST_DNS : ${{ secrets.TEST_DNS }}
  242. TestingDomain: ${{ secrets.TestingDomain }}
  243. TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }}
  244. TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }}
  245. TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }}
  246. CASE: le_test_dnsapi
  247. TEST_LOCAL: 1
  248. DEBUG: ${{ secrets.DEBUG }}
  249. http_proxy: ${{ secrets.http_proxy }}
  250. https_proxy: ${{ secrets.https_proxy }}
  251. TokenName1: ${{ secrets.TokenName1}}
  252. TokenName2: ${{ secrets.TokenName2}}
  253. TokenName3: ${{ secrets.TokenName3}}
  254. TokenName4: ${{ secrets.TokenName4}}
  255. TokenName5: ${{ secrets.TokenName5}}
  256. steps:
  257. - uses: actions/checkout@v3
  258. - name: Clone acmetest
  259. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  260. - uses: vmactions/openbsd-vm@v0
  261. with:
  262. envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}'
  263. prepare: pkg_add socat curl
  264. usesh: true
  265. copyback: false
  266. run: |
  267. if [ "${{ secrets.TokenName1}}" ] ; then
  268. export ${{ secrets.TokenName1}}="${{ secrets.TokenValue1}}"
  269. fi
  270. if [ "${{ secrets.TokenName2}}" ] ; then
  271. export ${{ secrets.TokenName2}}="${{ secrets.TokenValue2}}"
  272. fi
  273. if [ "${{ secrets.TokenName3}}" ] ; then
  274. export ${{ secrets.TokenName3}}="${{ secrets.TokenValue3}}"
  275. fi
  276. if [ "${{ secrets.TokenName4}}" ] ; then
  277. export ${{ secrets.TokenName4}}="${{ secrets.TokenValue4}}"
  278. fi
  279. if [ "${{ secrets.TokenName5}}" ] ; then
  280. export ${{ secrets.TokenName5}}="${{ secrets.TokenValue5}}"
  281. fi
  282. cd ../acmetest
  283. ./letest.sh
  284. NetBSD:
  285. runs-on: macos-12
  286. needs: OpenBSD
  287. env:
  288. TEST_DNS : ${{ secrets.TEST_DNS }}
  289. TestingDomain: ${{ secrets.TestingDomain }}
  290. TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }}
  291. TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }}
  292. TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }}
  293. CASE: le_test_dnsapi
  294. TEST_LOCAL: 1
  295. DEBUG: ${{ secrets.DEBUG }}
  296. http_proxy: ${{ secrets.http_proxy }}
  297. https_proxy: ${{ secrets.https_proxy }}
  298. TokenName1: ${{ secrets.TokenName1}}
  299. TokenName2: ${{ secrets.TokenName2}}
  300. TokenName3: ${{ secrets.TokenName3}}
  301. TokenName4: ${{ secrets.TokenName4}}
  302. TokenName5: ${{ secrets.TokenName5}}
  303. steps:
  304. - uses: actions/checkout@v3
  305. - name: Clone acmetest
  306. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  307. - uses: vmactions/netbsd-vm@v0
  308. with:
  309. envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}'
  310. prepare: |
  311. pkg_add curl socat libnghttp2
  312. usesh: true
  313. copyback: false
  314. run: |
  315. if [ "${{ secrets.TokenName1}}" ] ; then
  316. export ${{ secrets.TokenName1}}="${{ secrets.TokenValue1}}"
  317. fi
  318. if [ "${{ secrets.TokenName2}}" ] ; then
  319. export ${{ secrets.TokenName2}}="${{ secrets.TokenValue2}}"
  320. fi
  321. if [ "${{ secrets.TokenName3}}" ] ; then
  322. export ${{ secrets.TokenName3}}="${{ secrets.TokenValue3}}"
  323. fi
  324. if [ "${{ secrets.TokenName4}}" ] ; then
  325. export ${{ secrets.TokenName4}}="${{ secrets.TokenValue4}}"
  326. fi
  327. if [ "${{ secrets.TokenName5}}" ] ; then
  328. export ${{ secrets.TokenName5}}="${{ secrets.TokenValue5}}"
  329. fi
  330. cd ../acmetest
  331. ./letest.sh
  332. DragonFlyBSD:
  333. runs-on: macos-12
  334. needs: NetBSD
  335. env:
  336. TEST_DNS : ${{ secrets.TEST_DNS }}
  337. TestingDomain: ${{ secrets.TestingDomain }}
  338. TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }}
  339. TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }}
  340. TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }}
  341. CASE: le_test_dnsapi
  342. TEST_LOCAL: 1
  343. DEBUG: ${{ secrets.DEBUG }}
  344. http_proxy: ${{ secrets.http_proxy }}
  345. https_proxy: ${{ secrets.https_proxy }}
  346. TokenName1: ${{ secrets.TokenName1}}
  347. TokenName2: ${{ secrets.TokenName2}}
  348. TokenName3: ${{ secrets.TokenName3}}
  349. TokenName4: ${{ secrets.TokenName4}}
  350. TokenName5: ${{ secrets.TokenName5}}
  351. steps:
  352. - uses: actions/checkout@v3
  353. - name: Clone acmetest
  354. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  355. - uses: vmactions/dragonflybsd-vm@v0
  356. with:
  357. envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}'
  358. prepare: |
  359. pkg install -y curl socat libnghttp2
  360. usesh: true
  361. copyback: false
  362. run: |
  363. if [ "${{ secrets.TokenName1}}" ] ; then
  364. export ${{ secrets.TokenName1}}="${{ secrets.TokenValue1}}"
  365. fi
  366. if [ "${{ secrets.TokenName2}}" ] ; then
  367. export ${{ secrets.TokenName2}}="${{ secrets.TokenValue2}}"
  368. fi
  369. if [ "${{ secrets.TokenName3}}" ] ; then
  370. export ${{ secrets.TokenName3}}="${{ secrets.TokenValue3}}"
  371. fi
  372. if [ "${{ secrets.TokenName4}}" ] ; then
  373. export ${{ secrets.TokenName4}}="${{ secrets.TokenValue4}}"
  374. fi
  375. if [ "${{ secrets.TokenName5}}" ] ; then
  376. export ${{ secrets.TokenName5}}="${{ secrets.TokenValue5}}"
  377. fi
  378. cd ../acmetest
  379. ./letest.sh
  380. Solaris:
  381. runs-on: macos-12
  382. needs: DragonFlyBSD
  383. env:
  384. TEST_DNS : ${{ secrets.TEST_DNS }}
  385. TestingDomain: ${{ secrets.TestingDomain }}
  386. TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }}
  387. TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }}
  388. TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }}
  389. CASE: le_test_dnsapi
  390. TEST_LOCAL: 1
  391. DEBUG: ${{ secrets.DEBUG }}
  392. http_proxy: ${{ secrets.http_proxy }}
  393. https_proxy: ${{ secrets.https_proxy }}
  394. HTTPS_INSECURE: 1 # always set to 1 to ignore https error, since Solaris doesn't accept the expired ISRG X1 root
  395. TokenName1: ${{ secrets.TokenName1}}
  396. TokenName2: ${{ secrets.TokenName2}}
  397. TokenName3: ${{ secrets.TokenName3}}
  398. TokenName4: ${{ secrets.TokenName4}}
  399. TokenName5: ${{ secrets.TokenName5}}
  400. steps:
  401. - uses: actions/checkout@v3
  402. - name: Clone acmetest
  403. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  404. - uses: vmactions/solaris-vm@v0
  405. with:
  406. envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy HTTPS_INSECURE TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}'
  407. copyback: false
  408. prepare: pkgutil -y -i socat
  409. run: |
  410. pkg set-mediator -v -I default@1.1 openssl
  411. export PATH=/usr/gnu/bin:$PATH
  412. if [ "${{ secrets.TokenName1}}" ] ; then
  413. export ${{ secrets.TokenName1}}="${{ secrets.TokenValue1}}"
  414. fi
  415. if [ "${{ secrets.TokenName2}}" ] ; then
  416. export ${{ secrets.TokenName2}}="${{ secrets.TokenValue2}}"
  417. fi
  418. if [ "${{ secrets.TokenName3}}" ] ; then
  419. export ${{ secrets.TokenName3}}="${{ secrets.TokenValue3}}"
  420. fi
  421. if [ "${{ secrets.TokenName4}}" ] ; then
  422. export ${{ secrets.TokenName4}}="${{ secrets.TokenValue4}}"
  423. fi
  424. if [ "${{ secrets.TokenName5}}" ] ; then
  425. export ${{ secrets.TokenName5}}="${{ secrets.TokenValue5}}"
  426. fi
  427. cd ../acmetest
  428. ./letest.sh