This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- .\actions- runner\config.cmd -- unattended - -replace -- url https:// github.com / ${env: RUNNER_REPO} -- token $env: RUNNER_TOKEN -- runnergroup $env: RUNNER_GROUP -- labels $env: RUNNER_LABEL -- name $env: RUNNER_NAME -- work $env: RUNNER_WORKDIR ;
1+ .\actions- runner\config.cmd -- unattended - -replace -- url https:// github.com / ${env: RUNNER_REPO} -- pat $env: RUNNER_PAT -- runnergroup $env: RUNNER_GROUP -- labels $env: RUNNER_LABELS -- name $env: RUNNER_NAME -- work $env: RUNNER_WORKDIR ;
22.\actions- runner\run.cmd ;
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33RUNNER_REPO=$RUNNER_REPO
4- RUNNER_TOKEN= $RUNNER_TOKEN
4+ RUNNER_PAT= $RUNNER_PAT
55RUNNER_GROUP=$RUNNER_GROUP
66RUNNER_LABELS=$RUNNER_LABELS
77RUNNER_NAME=$RUNNER_NAME
88
99cd /home/runner/actions-runner
1010
11- ./config.sh --unattended --url https://github.com/${RUNNER_REPO} --token ${RUNNER_TOKEN } --name ${RUNNER_NAME} --runnergroup ${RUNNER_GROUP} --labels ${RUNNER_LABELS} --work /home/runner/actions-runner/_work
11+ ./config.sh --unattended --replace -- url https://github.com/${RUNNER_REPO} --pat ${RUNNER_PAT } --name ${RUNNER_NAME} --runnergroup ${RUNNER_GROUP} --labels ${RUNNER_LABELS} --work /home/runner/actions-runner/_work
1212
1313cleanup () {
1414 echo " Removing runner..."
15- ./config.sh remove --unattended --token ${RUNNER_TOKEN }
15+ ./config.sh remove --unattended --pat ${RUNNER_PAT }
1616}
1717
1818trap ' cleanup; exit 130' INT
You can’t perform that action at this time.
0 commit comments