From 9dc192ddd316f09780c7a5591b5a96e462aa9b7d Mon Sep 17 00:00:00 2001 From: Chris Tabone Date: Mon, 24 Jun 2024 15:37:27 -0300 Subject: [PATCH] Update self_runner_test.yml --- .github/workflows/self_runner_test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/self_runner_test.yml b/.github/workflows/self_runner_test.yml index 2732a69f..614fd8b4 100644 --- a/.github/workflows/self_runner_test.yml +++ b/.github/workflows/self_runner_test.yml @@ -8,16 +8,14 @@ jobs: start-runner: runs-on: flysql26-dispatch outputs: - runner_name: ${{ steps.set-runner-name.outputs.runner_name }} + runner_name: ${{ steps.start_runner.outputs.runner_name }} steps: - name: Start Dockerized Runner id: start_runner run: | RUNNER_NAME=$(bash /var/go/actions-runner-dispatch/runner-controller.sh start ${{ secrets.RUNNER_ACCESS_TOKEN }} runner-prefix Default self-hosted,Linux,X64 latest ${{ secrets.AWS_ACCESS_KEY_ID }} ${{ secrets.AWS_SECRET_ACCESS_KEY }}) - echo "RUNNER_NAME=$RUNNER_NAME" >> $GITHUB_ENV - - name: Set Runner Name Output - id: set-runner-name - run: echo "runner_name=${RUNNER_NAME}" >> $GITHUB_ENV + echo "RUNNER_NAME=${RUNNER_NAME}" >> $GITHUB_ENV + echo "::set-output name=runner_name::${RUNNER_NAME}" use-runner: needs: start-runner