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
|
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
||||||
go get -u github.com/go-delve/delve/cmd/dlv
|
go get -u github.com/go-delve/delve/cmd/dlv
|
||||||
|
|
@ -79,10 +80,18 @@ jobs:
|
||||||
name: 'package-linux'
|
name: 'package-linux'
|
||||||
path: 'package/linux-${{ github.run_id }}.tar.gz'
|
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:
|
MacOS:
|
||||||
runs-on: 'macos-10.15'
|
runs-on: 'macos-10.15'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
brew update-reset
|
brew update-reset
|
||||||
brew doctor || true
|
brew doctor || true
|
||||||
|
|
@ -129,6 +138,13 @@ jobs:
|
||||||
name: 'package-macos'
|
name: 'package-macos'
|
||||||
path: 'package/macos-${{ github.run_id }}.tar.gz'
|
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:
|
PublishRelease:
|
||||||
runs-on: 'ubuntu-16.04'
|
runs-on: 'ubuntu-16.04'
|
||||||
needs:
|
needs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue