Skip to content

Commit

Permalink
Update ngrok agent to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Dec 14, 2023
1 parent a47bd4a commit 2e5fa46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
if('${{ runner.os }}' -eq 'Linux')
{
printf "# Preparing environment..."
echo "ngrok-stable-linux-386.zip" > ngrok_zip_name
echo "ngrok-v3-stable-linux-amd64.zip" > ngrok_zip_name
whoami > ssh_user
printf " [DONE]\n\n"
Expand All @@ -49,7 +49,7 @@ runs:
elseif('${{ runner.os }}' -eq 'macOS')
{
printf "# Preparing environment..."
echo "ngrok-stable-darwin-amd64.zip" > ngrok_zip_name
echo "ngrok-v3-stable-darwin-amd64.zip" > ngrok_zip_name
echo "root" > ssh_user
printf " [DONE]\n\n"
Expand All @@ -62,7 +62,7 @@ runs:
elseif('${{ runner.os }}' -eq 'Windows')
{
printf "# Preparing environment..."
echo "ngrok-stable-windows-amd64.zip" > ngrok_zip_name
echo "ngrok-v3-stable-windows-amd64.zip" > ngrok_zip_name
echo $env:UserName > ssh_user
printf " [DONE]\n\n"

Expand Down Expand Up @@ -95,7 +95,7 @@ runs:
- name: Install and setup ngrok
run: |
echo "# Install ngrok"
curl https://bin.equinox.io/c/4VmDzA7iaHb/$(cat ngrok_zip_name) --output ngrok.zip
curl https://bin.equinox.io/c/bNyj1mQVY4c/$(cat ngrok_zip_name) --output ngrok.zip
unzip ngrok.zip
chmod +x ./ngrok
Expand Down

0 comments on commit 2e5fa46

Please sign in to comment.