Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Nov 20, 2023
1 parent 430507a commit 768a7c8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,30 @@ on: [push, workflow_dispatch]

jobs:
runshell:
runs-on: macos-12
runs-on: ubuntu-22.04
name: Start a openbsd 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 openbsd VM, please wait. It may take 3 minutes
id: shell
uses: vmactions/openbsd-vm@main
with:
nat: |
"8000": "80"
envs: 'TestingDomain TEST_PREFERRED_CHAIN TEST_ACME_Server INPUT_*'
run: |
pwd
ls -lah
whoami
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

0 comments on commit 768a7c8

Please sign in to comment.