From ec4e92a932ff6ce422b2152570091652d261821f Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 20 Nov 2023 20:35:33 +0100 Subject: [PATCH] revert my last change --- .github/workflows/test.yml | 2 +- index.js | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ff666f..94fa489 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: macos-latest name: Test a cf tunnel steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run establish a cf tunnel id: test uses: vmactions/cf-tunnel@main diff --git a/index.js b/index.js index e594637..aebdd55 100644 --- a/index.js +++ b/index.js @@ -92,11 +92,7 @@ async function run(protocol, port) { continue; } core.info("server: " + server); - if (protocol === "http") { - await exec.exec("sh", [], { input: `echo "server= http://${server}" >> $GITHUB_OUTPUT` }); - } else { - await exec.exec("sh", [], { input: `echo "server=${server}" >> $GITHUB_OUTPUT` }); - } + await exec.exec("sh", [], { input: `echo "server=${server}" >> $GITHUB_OUTPUT` }); break; }