Add SSH login for failures
This commit is contained in:
parent
c531686d39
commit
632e6696ef
1 changed files with 16 additions and 0 deletions
16
.github/workflows/build.yaml
vendored
16
.github/workflows/build.yaml
vendored
|
|
@ -38,6 +38,7 @@ jobs:
|
|||
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- run: |
|
||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||
go get -u github.com/go-delve/delve/cmd/dlv
|
||||
|
|
@ -79,10 +80,18 @@ jobs:
|
|||
name: 'package-linux'
|
||||
path: 'package/linux-${{ github.run_id }}.tar.gz'
|
||||
|
||||
# - name: Start SSH session if failed
|
||||
# uses: luchihoratiu/debug-via-ssh@main
|
||||
# if: failure()
|
||||
# with:
|
||||
# NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
|
||||
# SSH_PASS: ${{ secrets.SSH_PASS }}
|
||||
|
||||
MacOS:
|
||||
runs-on: 'macos-10.15'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- run: |
|
||||
brew update-reset
|
||||
brew doctor || true
|
||||
|
|
@ -129,6 +138,13 @@ jobs:
|
|||
name: 'package-macos'
|
||||
path: 'package/macos-${{ github.run_id }}.tar.gz'
|
||||
|
||||
# - name: Start SSH session if failed
|
||||
# uses: luchihoratiu/debug-via-ssh@main
|
||||
# if: failure()
|
||||
# with:
|
||||
# NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
|
||||
# SSH_PASS: ${{ secrets.SSH_PASS }}
|
||||
|
||||
PublishRelease:
|
||||
runs-on: 'ubuntu-16.04'
|
||||
needs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue