This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: shell | |
on: [push, workflow_dispatch] | |
jobs: | |
runshell: | |
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 | |
- name: Sleep | |
run: for i in $(seq 1 10) ; do echo $i; sleep 1; done | |
- uses: neilpang/debugger-action@master | |