mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
128 lines
7.1 KiB
Markdown
128 lines
7.1 KiB
Markdown
## What's Changed
|
|
* Fix `buildx` installation by @ajschmidt8 in https://github.com/actions/runner/pull/2952
|
|
* Create close-features and close-bugs bot for runner issues by @ruvceskistefan in https://github.com/actions/runner/pull/2909
|
|
* Send disableUpdate as query parameter by @luketomlinson in https://github.com/actions/runner/pull/2970
|
|
* Handle SelfUpdate Flow when Package is provided in Message by @luketomlinson in https://github.com/actions/runner/pull/2926
|
|
* Bump container hook version to 0.5.0 in runner image by @nikola-jokic in https://github.com/actions/runner/pull/3003
|
|
* Set `ImageOS` environment variable in runner images by @int128 in https://github.com/actions/runner/pull/2878
|
|
* Mark job as failed on worker crash. by @TingluoHuang in https://github.com/actions/runner/pull/3006
|
|
* Include whether http proxy configured as part of UserAgent. by @TingluoHuang in https://github.com/actions/runner/pull/3009
|
|
* Add codeload to the list of service we check during '--check'. by @TingluoHuang in https://github.com/actions/runner/pull/3011
|
|
* close reason update by @ruvceskistefan in https://github.com/actions/runner/pull/3027
|
|
* Update envlinux.md by @adjn in https://github.com/actions/runner/pull/3040
|
|
* Extend `--check` to check Results-Receiver service. by @TingluoHuang in https://github.com/actions/runner/pull/3078
|
|
* Use Azure SDK to upload files to Azure Blob by @yacaovsnc in https://github.com/actions/runner/pull/3033
|
|
* Remove code in runner for handling trimmed packages. by @TingluoHuang in https://github.com/actions/runner/pull/3074
|
|
* Update dotnet sdk to latest version @6.0.418 by @github-actions in https://github.com/actions/runner/pull/3085
|
|
* Patch Curl to no longer use -k by @thboop in https://github.com/actions/runner/pull/3091
|
|
|
|
## New Contributors
|
|
* @int128 made their first contribution in https://github.com/actions/runner/pull/2878
|
|
* @adjn made their first contribution in https://github.com/actions/runner/pull/3040
|
|
|
|
**Full Changelog**: https://github.com/actions/runner/compare/v2.311.0...v2.312.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 -->
|