mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix workflow
This commit is contained in:
parent
34b583d1e6
commit
7afd7649f5
2 changed files with 18 additions and 14 deletions
10
.github/actions/ssh-tunnel/rtcforward.py
vendored
10
.github/actions/ssh-tunnel/rtcforward.py
vendored
|
@ -10,9 +10,13 @@ import sys
|
|||
import textwrap
|
||||
import time
|
||||
|
||||
import aiortc.exceptions
|
||||
from aiortc import RTCIceCandidate, RTCPeerConnection, RTCSessionDescription
|
||||
from aiortc.contrib.signaling import BYE, add_signaling_arguments, create_signaling
|
||||
try:
|
||||
import aiortc.exceptions
|
||||
from aiortc import RTCIceCandidate, RTCPeerConnection, RTCSessionDescription
|
||||
from aiortc.contrib.signaling import BYE, add_signaling_arguments, create_signaling
|
||||
except ImportError:
|
||||
print("Please `pip install aiortc` before running.")
|
||||
sys.exit(1)
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
|
22
.github/workflows/ssh-debug.yml
vendored
22
.github/workflows/ssh-debug.yml
vendored
|
@ -17,16 +17,16 @@ on:
|
|||
|
||||
|
||||
|
||||
debug:
|
||||
jobs:
|
||||
debug:
|
||||
runs-on: {{ inputs.runner }}
|
||||
environment: ci
|
||||
steps:
|
||||
|
||||
runs-on: {{ inputs.runner }}
|
||||
environment: ci
|
||||
steps:
|
||||
- name: Checkout Source Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Checkout Source Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: ./.github/actions/ssh-tunnel
|
||||
with:
|
||||
public_key: ${{ inputs.public_key }}
|
||||
offer: ${{ inputs.offer }}
|
||||
- uses: ./.github/actions/ssh-tunnel
|
||||
with:
|
||||
public_key: ${{ inputs.public_key }}
|
||||
offer: ${{ inputs.offer }}
|
||||
|
|
Loading…
Add table
Reference in a new issue