Regular Expressions 101

Community Patterns


Regular Expression
PCRE (PHP <7.3)



actions-runner-win-x64-2.300.2.zipDownload We recommend configuring the runner under "\actions-runner". This will help avoid issues related to service identity folder permissions and long path restrictions on Windows.

Create a folder under the drive root

$ mkdir actions-runner; cd actions-runner# Download the latest runner package $ Invoke-WebRequest -Uri -OutFile Optional: Validate the hash $ if((Get-FileHash -Path -Algorithm SHA256).Hash.ToUpper() -ne '54a37c9c78ca2dafe8912e633e8ff1740b9acf705169f240e3ee962b231a9f76'.ToUpper()){ throw 'Computed checksum did not match' }# Extract the installer $ Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD/", "$PWD") Configure

Create the runner and start the configuration experience

$ ./config.cmd --url --token AYC56HRTW24HAY5UDYNGDRDDYU5DE# Run it! $ ./run.cmd Using your self-hosted runner

Use this YAML in your workflow file for each job

runs-on: self-hosted

Submitted by AriesTriputranto - a year ago