diff --git a/releaseNote.md b/releaseNote.md index 6a9eb4606..25703dc58 100644 --- a/releaseNote.md +++ b/releaseNote.md @@ -8,13 +8,15 @@ - N/A ## 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 -``` -// Create a folder under the drive root +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 +# Download the latest runner package Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v/actions-runner-win-x64-.zip -OutFile actions-runner-win-x64-.zip -// Extract the installer +# Extract the installer Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-.zip", "$PWD") ``` @@ -22,44 +24,44 @@ Add-Type -AssemblyName System.IO.Compression.FileSystem ; ## OSX ``` bash -// Create a folder +# Create a folder mkdir actions-runner && cd actions-runner -// Download the latest runner package +# Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-osx-x64-.tar.gz -// Extract the installer +# Extract the installer tar xzf ./actions-runner-osx-x64-.tar.gz ``` ## Linux x64 ``` bash -// Create a folder +# Create a folder mkdir actions-runner && cd actions-runner -// Download the latest runner package +# Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-linux-x64-.tar.gz -// Extract the installer +# Extract the installer tar xzf ./actions-runner-linux-x64-.tar.gz ``` ## Linux arm64 (Pre-release) ``` bash -// Create a folder +# Create a folder mkdir actions-runner && cd actions-runner -// Download the latest runner package +# Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-linux-arm64-.tar.gz -// Extract the installer +# Extract the installer tar xzf ./actions-runner-linux-arm64-.tar.gz ``` ## Linux arm (Pre-release) ``` bash -// Create a folder +# Create a folder mkdir actions-runner && cd actions-runner -// Download the latest runner package +# Download the latest runner package curl -O -L https://github.com/actions/runner/releases/download/v/actions-runner-linux-arm-.tar.gz -// Extract the installer +# Extract the installer tar xzf ./actions-runner-linux-arm-.tar.gz ```