mirror of
https://github.com/actions/runner.git
synced 2025-12-25 02:47:19 +08:00
* Update telemetry (#1355) * Track "pause-logging" * Bump release version * Don't retry 422 (#1352) * Update the comment about the `--once` in Constants.cs (#1360) * Update Constants.cs * feedback. * Update src/Runner.Listener/Runner.cs Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com> Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com> * Fix unconfiguring of runner after group changes (#1359) * Ignore agentpool when unconfiguring the runner Runner names and IDs are unique within a ServiceHost They don't need to be included when unconfiguring the runner. * Use -1 instead of 0 to highlight how it is ignored * Use overloads and 0 instead of -1 Using 0 seems to be the convention * Fix typo calling the wrong method * only cleanup runner local files on success (#1384) * Stop-Commands: stopToken restrictions (#1371) * Prevent stopTokens that are workflow commands Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com> * Check context for env var too * Accept true, 1 and $true instead of just "true" * Setup ExpressionValues in tests * Update src/Runner.Common/Constants.cs Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com> * Separate success and fail tests for invalid token * Fix envcontext for tests Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com> * Handle keeping previous OSX versions more smoothly on Mac (#1381) * Handle macOS upgrade smoothly * cleanup * misc cleanup * final updates * Update src/Misc/layoutbin/update.sh.template Co-authored-by: Patrick Ellis <319655+pje@users.noreply.github.com> * Update src/Misc/layoutbin/update.sh.template Co-authored-by: Patrick Ellis <319655+pje@users.noreply.github.com> * Upload telemetry and default to old method as needed * minor fix * add one more bit of logging * some more telemetry * quote variables to handle spaces * tiny fix for ubuntu * remove version and move telemetry to diag * use full path Co-authored-by: Patrick Ellis <319655+pje@users.noreply.github.com> * Runner 2.283.2 Release (#1389) Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com> Co-authored-by: Tingluo Huang <tingluohuang@github.com> Co-authored-by: Patrick Ellis <319655+pje@users.noreply.github.com>
84 lines
3.5 KiB
Markdown
84 lines
3.5 KiB
Markdown
## Features
|
|
|
|
## Bugs
|
|
|
|
- Fixed an issue where ephemeral runners deregistered themselves when jobs were not successful (#1384)
|
|
- Fixed an issue where you were not able to un-configure a runner that changed groups (#1359)
|
|
- Disable `stop-commands` command using well known keywords as a token (#1371)
|
|
|
|
## Misc
|
|
|
|
- Don't retry 422 error codes when downloading actions (#1352)
|
|
- Handle upgrade more smoothly on OSX (#1381)
|
|
|
|
## 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")
|
|
```
|
|
|
|
## OSX
|
|
|
|
``` 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
|
|
```
|
|
|
|
## 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-osx-x64-<RUNNER_VERSION>.tar.gz <!-- BEGIN SHA osx-x64 --><OSX_X64_SHA><!-- END SHA osx-x64 -->
|
|
- 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 -->
|