mirror of
https://github.com/actions/runner.git
synced 2025-12-10 20:36:49 +00:00
124 lines
6.1 KiB
Markdown
124 lines
6.1 KiB
Markdown
## What's Changed
|
|
|
|
- Adding Snapshot additional mapping tokens https://github.com/actions/runner/pull/3468
|
|
- Create launch httpclient using the right handler and setting https://github.com/actions/runner/pull/3476
|
|
- Fix missing default user-agent for jitconfig runner https://github.com/actions/runner/pull/3473
|
|
- Cleanup back-compat code for interpreting Run Service status codes https://github.com/actions/runner/pull/3456
|
|
- Add runner or worker to the useragent https://github.com/actions/runner/pull/3457
|
|
- Handle Error Body in Responses from Broker https://github.com/actions/runner/pull/3454
|
|
- Fix issues for composite actions (Run Service flow) https://github.com/actions/runner/pull/3446
|
|
- Trace GitHub RequestId to log https://github.com/actions/runner/pull/3442
|
|
- Add `jq`, `git`, `unzip` and `curl` to default packages installed https://github.com/actions/runner/pull/3056
|
|
- Add pid to user-agent and session owner https://github.com/actions/runner/pull/3432
|
|
|
|
**Full Changelog**: https://github.com/actions/runner/compare/v2.319.1...v2.320.0
|
|
|
|
_Note: Actions Runner follows a progressive release policy, so the latest release might not be available to your enterprise, organization, or repository yet.
|
|
To confirm which version of the Actions Runner you should expect, please view the download instructions for your enterprise, organization, or repository.
|
|
See https://docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/adding-self-hosted-runners_
|
|
|
|
## Windows x64
|
|
|
|
We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows.
|
|
|
|
The following snipped needs to be run on `powershell`:
|
|
|
|
```powershell
|
|
# Create a folder under the drive root
|
|
mkdir \actions-runner ; cd \actions-runner
|
|
# Download the latest runner package
|
|
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v<RUNNER_VERSION>/actions-runner-win-x64-<RUNNER_VERSION>.zip -OutFile actions-runner-win-x64-<RUNNER_VERSION>.zip
|
|
# Extract the installer
|
|
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
|
|
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-<RUNNER_VERSION>.zip", "$PWD")
|
|
```
|
|
|
|
## [Pre-release] Windows arm64
|
|
|
|
**Warning:** Windows arm64 runners are currently in preview status and use [unofficial versions of nodejs](https://unofficial-builds.nodejs.org/). They are not intended for production workflows.
|
|
|
|
We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows.
|
|
|
|
The following snipped needs to be run on `powershell`:
|
|
|
|
```powershell
|
|
# Create a folder under the drive root
|
|
mkdir \actions-runner ; cd \actions-runner
|
|
# Download the latest runner package
|
|
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v<RUNNER_VERSION>/actions-runner-win-arm64-<RUNNER_VERSION>.zip -OutFile actions-runner-win-arm64-<RUNNER_VERSION>.zip
|
|
# Extract the installer
|
|
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
|
|
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-arm64-<RUNNER_VERSION>.zip", "$PWD")
|
|
```
|
|
|
|
## OSX x64
|
|
|
|
```bash
|
|
# Create a folder
|
|
mkdir actions-runner && cd actions-runner
|
|
# Download the latest runner package
|
|
curl -O -L https://github.com/actions/runner/releases/download/v<RUNNER_VERSION>/actions-runner-osx-x64-<RUNNER_VERSION>.tar.gz
|
|
# Extract the installer
|
|
tar xzf ./actions-runner-osx-x64-<RUNNER_VERSION>.tar.gz
|
|
```
|
|
|
|
## OSX arm64 (Apple silicon)
|
|
|
|
```bash
|
|
# Create a folder
|
|
mkdir actions-runner && cd actions-runner
|
|
# Download the latest runner package
|
|
curl -O -L https://github.com/actions/runner/releases/download/v<RUNNER_VERSION>/actions-runner-osx-arm64-<RUNNER_VERSION>.tar.gz
|
|
# Extract the installer
|
|
tar xzf ./actions-runner-osx-arm64-<RUNNER_VERSION>.tar.gz
|
|
```
|
|
|
|
## Linux x64
|
|
|
|
```bash
|
|
# Create a folder
|
|
mkdir actions-runner && cd actions-runner
|
|
# Download the latest runner package
|
|
curl -O -L https://github.com/actions/runner/releases/download/v<RUNNER_VERSION>/actions-runner-linux-x64-<RUNNER_VERSION>.tar.gz
|
|
# Extract the installer
|
|
tar xzf ./actions-runner-linux-x64-<RUNNER_VERSION>.tar.gz
|
|
```
|
|
|
|
## Linux arm64
|
|
|
|
```bash
|
|
# Create a folder
|
|
mkdir actions-runner && cd actions-runner
|
|
# Download the latest runner package
|
|
curl -O -L https://github.com/actions/runner/releases/download/v<RUNNER_VERSION>/actions-runner-linux-arm64-<RUNNER_VERSION>.tar.gz
|
|
# Extract the installer
|
|
tar xzf ./actions-runner-linux-arm64-<RUNNER_VERSION>.tar.gz
|
|
```
|
|
|
|
## Linux arm
|
|
|
|
```bash
|
|
# Create a folder
|
|
mkdir actions-runner && cd actions-runner
|
|
# Download the latest runner package
|
|
curl -O -L https://github.com/actions/runner/releases/download/v<RUNNER_VERSION>/actions-runner-linux-arm-<RUNNER_VERSION>.tar.gz
|
|
# Extract the installer
|
|
tar xzf ./actions-runner-linux-arm-<RUNNER_VERSION>.tar.gz
|
|
```
|
|
|
|
## Using your self hosted runner
|
|
|
|
For additional details about configuring, running, or shutting down the runner please check out our [product docs.](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners)
|
|
|
|
## SHA-256 Checksums
|
|
|
|
The SHA-256 checksums for the packages included in this build are shown below:
|
|
|
|
- actions-runner-win-x64-<RUNNER_VERSION>.zip <!-- BEGIN SHA win-x64 --><WIN_X64_SHA><!-- END SHA win-x64 -->
|
|
- actions-runner-win-arm64-<RUNNER_VERSION>.zip <!-- BEGIN SHA win-arm64 --><WIN_ARM64_SHA><!-- END SHA win-arm64 -->
|
|
- actions-runner-osx-x64-<RUNNER_VERSION>.tar.gz <!-- BEGIN SHA osx-x64 --><OSX_X64_SHA><!-- END SHA osx-x64 -->
|
|
- actions-runner-osx-arm64-<RUNNER_VERSION>.tar.gz <!-- BEGIN SHA osx-arm64 --><OSX_ARM64_SHA><!-- END SHA osx-arm64 -->
|
|
- actions-runner-linux-x64-<RUNNER_VERSION>.tar.gz <!-- BEGIN SHA linux-x64 --><LINUX_X64_SHA><!-- END SHA linux-x64 -->
|
|
- actions-runner-linux-arm64-<RUNNER_VERSION>.tar.gz <!-- BEGIN SHA linux-arm64 --><LINUX_ARM64_SHA><!-- END SHA linux-arm64 -->
|
|
- actions-runner-linux-arm-<RUNNER_VERSION>.tar.gz <!-- BEGIN SHA linux-arm --><LINUX_ARM_SHA><!-- END SHA linux-arm -->
|