Skip to content

Commit

Permalink
Update the runner version to the latest one (machulav#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
machulav authored Aug 29, 2021
1 parent 3740c01 commit 56212fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aws.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function buildUserDataScript(githubRegistrationToken, label) {
'#!/bin/bash',
'mkdir actions-runner && cd actions-runner',
'case $(uname -m) in aarch64) ARCH="arm64" ;; amd64|x86_64) ARCH="x64" ;; esac && export RUNNER_ARCH=${ARCH}',
'curl -O -L https://github.com/actions/runner/releases/download/v2.278.0/actions-runner-linux-${RUNNER_ARCH}-2.278.0.tar.gz',
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.278.0.tar.gz',
'curl -O -L https://github.com/actions/runner/releases/download/v2.280.3/actions-runner-linux-${RUNNER_ARCH}-2.280.3.tar.gz',
'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.280.3.tar.gz',
'export RUNNER_ALLOW_RUNASROOT=1',
'export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1',
`./config.sh --url https://github.com/${config.githubContext.owner}/${config.githubContext.repo} --token ${githubRegistrationToken} --labels ${label}`,
Expand Down

0 comments on commit 56212fa

Please sign in to comment.