diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 4526ede2..16f8a69c 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -12,13 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: ref: main - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: - node-version: 20 + node-version: 24 - name: Install packages run: npm ci diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index f98cc71b..836ca739 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: '**/node_modules' key: ec2-github-runner-${{ hashFiles('**/package-lock.json') }} diff --git a/action.yml b/action.yml index 3ec07df0..433f9486 100644 --- a/action.yml +++ b/action.yml @@ -146,5 +146,5 @@ outputs: AWS region where the EC2 instance was created. This is useful for subsequent AWS operations on the instance. runs: - using: node20 + using: node24 main: ./dist/index.js diff --git a/dist/index.js b/dist/index.js index c3154357..8eeb2c6d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -145036,8 +145036,8 @@ function buildUserDataScript(githubRegistrationToken, label) { `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`, 'source pre-runner-script.sh', '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.313.0/actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz', - 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz', + 'curl -O -L https://github.com/actions/runner/releases/download/v2.338.2/actions-runner-linux-${RUNNER_ARCH}-2.338.2.tar.gz', + 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.338.2.tar.gz', 'export RUNNER_ALLOW_RUNASROOT=1', `./config.sh --url https://github.com/${runnerBasePath} --token ${githubRegistrationToken} --replace --labels ${label}`, ]; diff --git a/src/aws.js b/src/aws.js index 910bfb1a..09c7b5e2 100644 --- a/src/aws.js +++ b/src/aws.js @@ -28,8 +28,8 @@ function buildUserDataScript(githubRegistrationToken, label) { `echo "${config.input.preRunnerScript}" > pre-runner-script.sh`, 'source pre-runner-script.sh', '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.313.0/actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz', - 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.313.0.tar.gz', + 'curl -O -L https://github.com/actions/runner/releases/download/v2.338.2/actions-runner-linux-${RUNNER_ARCH}-2.338.2.tar.gz', + 'tar xzf ./actions-runner-linux-${RUNNER_ARCH}-2.338.2.tar.gz', 'export RUNNER_ALLOW_RUNASROOT=1', `./config.sh --url https://github.com/${runnerBasePath} --token ${githubRegistrationToken} --replace --labels ${label}`, ];