From a2c409f8e5c5cd26a70140cc24898007ff750438 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 10 Feb 2024 00:40:27 +0800 Subject: [PATCH] no sync files --- .github/workflows/shell.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/shell.yml b/.github/workflows/shell.yml index d08f0bb..55bfa34 100644 --- a/.github/workflows/shell.yml +++ b/.github/workflows/shell.yml @@ -8,11 +8,22 @@ jobs: runs-on: ubuntu-latest name: Start a dragonflybsd shell steps: + - uses: vmactions/cf-tunnel@v0 + id: tunnel + with: + protocol: http + port: 8000 + - name: Set envs + run: echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV - name: Starting a dragonflybsd VM, please wait. It may take 3 minutes id: shell uses: vmactions/dragonflybsd-vm@main with: release: ${{secrets.RELEASE}} + nat: | + "8000": "80" + envs: 'TestingDomain TEST_PREFERRED_CHAIN TEST_ACME_Server INPUT_*' + sync: no prepare: | pkg install -y curl run: | @@ -22,6 +33,6 @@ jobs: env uname -a - name: Sleep - run: sleep 5 + run: for i in $(seq 1 10) ; do echo $i; sleep 1; done - uses: neilpang/debugger-action@master