Get started Bring yourself up to speed with our introductory content.

Full GitHub Actions environment variables list for YAML build workflow scripts

If you’re building a workflow, shell script, or build job of any merit, you’ll need to take advantage of the various GitHub Actions environment variables the continuous integration tool makes available to you.

The standard documentation pages tell you about the default GitHub Actions environment variables. Those are the ones prefixed with the string GITHUB, which includes variables such as GITHUB_WORKFLOW, GITHUB_RUN_ID and GITHUB_ACTION.  However, that’s by no means the full list of GitHub Actions environment variables available to you when you create workflow on Ubuntu, Linus or a MacOS.

Each container on which your continuous integration builds run offer a full suite of environment variables your shell scripts and workflows should be taking advantage of. I’m going to provide you a full list of GitHub Actions environment variables in this article, but more importantly, if you stick around, I’ll show you how to write a simple workflow so you can inspect your own environment and see for yourself what variables are available for your perusal.

Your intro to GitHub Actions training course

Here’s how to get started with GitHub Actions:

Follow these tutorials and you’ll learn GitHub Actions fast.

Default Github Actions Environment Variables

The 18 default environment variables available to any GitHub Actions workflow or shell script are as follows:

  1. CI
  2. GITHUB_WORKFLOW
  3. GITHUB_RUN_ID
  4. GITHUB_RUN_NUMBER
  5. GITHUB_ACTION
  6. GITHUB_ACTIONS
  7. GITHUB_ACTOR
  8. GITHUB_REPOSITORY
  9. GITHUB_EVENT_NAME
  10. GITHUB_EVENT_PATH
  11. GITHUB_WORKSPACE
  12. GITHUB_SHA
  13. GITHUB_REF
  14. GITHUB_HEAD_REF
  15. GITHUB_BASE_REF
  16. GITHUB_SERVER_URL
  17. GITHUB_API_URL
  18. GITHUB_GRAPHQL_URL

Full GitHub Actions Variables List

That’s an impressive list. But here’s the rub. If you’re doing a build on the ubuntu-latest image, there’s over 60 more GitHub Actions environment variables your build workflows can take advantage of. And while they are fairly standard, they do differ from distro to distro, so your macos-latest may have a few more or a few less variables available to you than ubuntu-latest.

Take the PATH variable. That’s available on windows-latest, but for obvious reasons, it’s not available on ubuntu-latest, as Linux distros don’t have a configurable PATH.

In fairness, I’m combining what one might consider system variables with the environment variables specifically provided by the continuous integration framework. But all of these system and environment variables are available to your GitHub Action workflows and scripts, so I don’t feel guilty about combining them together in a single discussion.

GitHub Actions environment variables shell script

I’ll list out all of the 81 or so environment and system variables below. But there’s always a possibility that list will get outdated as soon as a new container is configured. So rather than relying on what’s written here, why not inspect your runtime container on your own. Here’s a simple YAML file that allows you to inspect GitHub Actions environment variables on Windows, MacOS and Ubuntu. And if you’ve already got a GitHub account of your own, it’ll only take you two minutes to configure it yourself.

GitHub Actions variables list script

The steps used in the following workflow to print out all GitHub Actions environment variables are:

  1. Create a simple YAML file that runs on a push to main or master
  2. Add three jobs, one for each of Ubuntu, Windows and MacOS
  3. Run a single GitHub Action step in each job that simply invokes the env command
  4. Run the build
  5. View the GitHub Action environment variable list in the job status window
# Publish GitHub workflow artifacts tutorial example
name: Publish GitHub Actions Artifacts Example
on:
  push:
    branches: [ main ]
jobs:
  github-actions-environment-variables-ubuntu:
    runs-on: ubuntu-latest
    steps:
      - name: List of the GitHub Actions environment variables on Windows
        run: env

  github-actions-environment-variables-windows:
    runs-on: windows-latest
    steps:
      - name: Ubuntu GitHub Actions environment variables List
        run: env

  github-actions-environment-variables-macos:
    runs-on: macos-latest
    steps:
      - name: MacOs List of GitHub Actions environment variables
        run: env

Environment variables workflow example

The env command forces the container of interest to print out all of its environment variables to the console. So when this simple workflow runs, we get a GitHub Actions environment variables list for Ubuntu, Windows and the MacOS. Run this script any time the latest version of a given container is updated and you’ll know if any new environment variables have been added, or if any old environment variables have been removed.

environment variables github actions

A full list of the GitHub Actions environment variables can be pulled from a simple workflow.

So what’s the full list of GitHub Actions environment variables look like? Well, you’re going to want to kill me when I list them, but here they are. All 123 of them as they appear in the ubuntu-latest. Windows and MacOS are listed below, although your local power grid may not have sufficient energy at hand to allow you to scroll down fully.

Ubuntu GitHub Actions Environment Variables List

Here are the 81 environment variables the ubuntu-latest GitHub Actions runner spit out:

LEIN_HOME=/usr/local/lib/lein
M2_HOME=/usr/share/apache-maven-3.6.3
GOROOT_1_11_X64=/opt/hostedtoolcache/go/1.11.13/x64
ANDROID_HOME=/usr/local/lib/android/sdk
JAVA_HOME_11_X64=/usr/lib/jvm/adoptopenjdk-11-hotspot-amd64
ImageVersion=20201102.0
AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
LANG=C.UTF-8
AZURE_EXTENSION_DIR=/opt/az/azcliextensions
POWERSHELL_DISTRIBUTION_CHANNEL=GitHub-Actions-ubuntu18
GITHUB_API_URL=https://api.github.com
INVOCATION_ID=3e31b357ddec4640a495a5c29ee579d2
BOOST_ROOT_1_72_0=/opt/hostedtoolcache/boost/1.72.0/x64
JAVA_HOME_12_X64=/usr/lib/jvm/adoptopenjdk-12-hotspot-amd64
ANDROID_SDK_ROOT=/usr/local/lib/android/sdk
RUNNER_TOOL_CACHE=/opt/hostedtoolcache
SWIFT_PATH=/usr/share/swift/usr/bin
JAVA_HOME=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64
RUNNER_TRACKING_ID=github_3ed81378-e0f3-42a1-8218-a31082ce8928
DOTNET_MULTILEVEL_LOOKUP="0"
GITHUB_REPOSITORY_OWNER=learn-github-actions
GITHUB_ACTIONS=true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE="1"
CI=true
DOTNET_NOLOGO="1"
USER=runner
GITHUB_HEAD_REF=
GITHUB_ACTOR=learn-github-actions
GITHUB_ACTION=run
GRADLE_HOME=/usr/share/gradle
PWD=/home/runner/work/getting-started-github-actions/getting-started-github-actions
ImageOS=ubuntu18
PIPX_HOME="/opt/pipx"
HOME=/home/runner
GOROOT=/opt/hostedtoolcache/go/1.14.10/x64
JOURNAL_STREAM=9:30209
GOROOT_1_14_X64=/opt/hostedtoolcache/go/1.14.10/x64
JAVA_HOME_8_X64=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64
RUNNER_TEMP=/home/runner/work/_temp
GITHUB_RETENTION_DAYS=90
GOROOT_1_15_X64=/opt/hostedtoolcache/go/1.15.3/x64
CONDA=/usr/share/miniconda
GOROOT_1_13_X64=/opt/hostedtoolcache/go/1.13.15/x64
BOOST_ROOT_1_69_0=/opt/hostedtoolcache/boost/1.69.0/x64
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_d3cc9327-7bd4-4c6e-bdc7-1b8aeda25deb
DEBIAN_FRONTEND=noninteractive
RUNNER_WORKSPACE=/home/runner/work/getting-started-github-actions
GITHUB_REF=refs/heads/main
GITHUB_SHA=bd55886e2fdb736df000375418c501abca2d3721
GITHUB_RUN_ID=356470921
GITHUB_SERVER_URL=https://github.com
GOROOT_1_12_X64=/opt/hostedtoolcache/go/1.12.17/x64
GECKOWEBDRIVER=/usr/local/share/gecko_driver
DEPLOYMENT_BASEPATH=/opt/runner
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
CHROMEWEBDRIVER=/usr/local/share/chrome_driver
PIPX_BIN_DIR="/opt/pipx_bin"
HOMEBREW_REPOSITORY="/home/linuxbrew/.linuxbrew/Homebrew"
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
RUNNER_OS=Linux
GITHUB_BASE_REF=
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
GITHUB_PATH=/home/runner/work/_temp/_runner_file_commands/add_path_d3cc9327-7bd4-4c6e-bdc7-1b8aeda25deb
GITHUB_JOB=github-actions-environment-variables-ubuntu
PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG
JAVA_HOME_7_X64=/usr/lib/jvm/zulu-7-azure-amd64
RUNNER_USER=runner
SHLVL=1
HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
GITHUB_REPOSITORY=learn-github-actions/getting-started-github-actions
GITHUB_EVENT_NAME=push
LEIN_JAR=/usr/local/lib/lein/self-installs/leiningen-2.9.4-standalone.jar
GITHUB_RUN_NUMBER=2
RUNNER_PERFLOG=/home/runner/perflog
GITHUB_WORKFLOW=Publish GitHub Actions Artifacts Example
ANT_HOME=/usr/share/ant
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SELENIUM_JAR_PATH=/usr/share/java/selenium-server-standalone.jar
GITHUB_WORKSPACE=/home/runner/work/getting-started-github-actions/getting-started-github-actions
CHROME_BIN=/usr/bin/google-chrome
HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"
_=/usr/bin/env

GitHub Actions Environment Variables List on MacOS

The MacOS GitHub Actions runner listed 80 environment variables:

GITHUB_JOB=github-actions-environment-variables-macos
GITHUB_EVENT_PATH=/Users/runner/work/_temp/_github_workflow/event.json
RUNNER_OS=macOS
XCODE_12_DEVELOPER_DIR=/Applications/Xcode_12.1.app/Contents/Developer
GITHUB_BASE_REF=
NVM_CD_FLAGS=
ANDROID_HOME=/Users/runner/Library/Android/sdk
SHELL=/bin/bash
CHROMEWEBDRIVER=/usr/local/Caskroom/chromedriver/86.0.4240.22
PIPX_BIN_DIR=/usr/local/opt/pipx_bin
GITHUB_REPOSITORY_OWNER=learn-github-actions
TMPDIR=/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/
GITHUB_RUN_NUMBER=2
GITHUB_ACTIONS=true
ANDROID_SDK_ROOT=/Users/runner/Library/Android/sdk
RUNNER_WORKSPACE=/Users/runner/work/getting-started-github-actions
RCT_NO_LAUNCH_PACKAGER=1
JAVA_HOME_8_X64=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
NUNIT_BASE_PATH=/Library/Developer/nunit
RUNNER_PERFLOG=/usr/local/opt/runner/perflog
GITHUB_WORKFLOW=Publish GitHub Actions Artifacts Example
GITHUB_REF=refs/heads/main
NUNIT3_PATH=/Library/Developer/nunit/3.6.0
LC_ALL=en_US.UTF-8
RUNNER_TOOL_CACHE=/Users/runner/hostedtoolcache
JAVA_HOME_11_X64=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
JAVA_HOME_14_X64=/Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home
NVM_DIR=/Users/runner/.nvm
USER=runner
GITHUB_API_URL=https://api.github.com
GITHUB_EVENT_NAME=push
GITHUB_SHA=bd55886e2fdb736df000375418c501abca2d3721
XCODE_10_DEVELOPER_DIR=/Applications/Xcode_10.3.app/Contents/Developer
RUNNER_TEMP=/Users/runner/work/_temp
ImageVersion=20201107.1
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.fd1ZVGpP4V/Listeners
GITHUB_SERVER_URL=https://github.com
__CF_USER_TEXT_ENCODING=0x1F5:0:0
HOMEBREW_NO_AUTO_UPDATE=1
GITHUB_HEAD_REF=
AGENT_TOOLSDIRECTORY=/Users/runner/hostedtoolcache
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
PATH=/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/opt/ruby/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/usr/local/go/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Users/runner/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools:/Users/runner/.ghcup/bin:/Users/runner/hostedtoolcache/stack/2.5.1/x64
_=/usr/bin/env
GITHUB_RETENTION_DAYS=90
PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG
CONDA=/usr/local/miniconda
EDGEWEBDRIVER=/usr/local/share/edge_driver
PWD=/Users/runner/work/getting-started-github-actions/getting-started-github-actions
DOTNET_ROOT=/Users/runner/.dotnet
JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
JAVA_HOME_7_X64=/Library/Java/JavaVirtualMachines/zulu-7.jdk/Contents/Home
JAVA_HOME_12_X64=/Library/Java/JavaVirtualMachines/adoptopenjdk-12.jdk/Contents/Home
LANG=en_US.UTF-8
ImageOS=macos1015
XPC_FLAGS=0x0
PIPX_HOME=/usr/local/opt/pipx
GITHUB_ACTOR=learn-github-actions
XPC_SERVICE_NAME=0
GECKOWEBDRIVER=/usr/local/opt/geckodriver/bin
SHLVL=2
HOME=/Users/runner
RUNNER_TRACKING_ID=github_55227cb1-2fd1-40f7-8c27-cd2ac3605153
GITHUB_WORKSPACE=/Users/runner/work/getting-started-github-actions/getting-started-github-actions
ANDROID_NDK_18R_PATH=/Users/runner/Library/Android/sdk/ndk/18.1.5063045
CI=true
GITHUB_RUN_ID=356470921
LOGNAME=runner
GITHUB_ENV=/Users/runner/work/_temp/_runner_file_commands/set_env_52fb4442-e3d2-49d0-956f-d7326c15833e
LC_CTYPE=en_US.UTF-8
JAVA_HOME_13_X64=/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home
HOMEBREW_CASK_OPTS=--no-quarantine
POWERSHELL_DISTRIBUTION_CHANNEL=GitHub-Actions-macos1015
ANDROID_NDK_HOME=/Users/runner/Library/Android/sdk/ndk-bundle
BOOTSTRAP_HASKELL_NONINTERACTIVE=1
XCODE_11_DEVELOPER_DIR=/Applications/Xcode_11.7.app/Contents/Developer
GITHUB_REPOSITORY=learn-github-actions/getting-started-github-actions
GITHUB_PATH=/Users/runner/work/_temp/_runner_file_commands/add_path_52fb4442-e3d2-49d0-956f-d7326c15833e
GITHUB_ACTION=run
DOTNET_MULTILEVEL_LOOKUP=0

Environment Variables for GitHub Actions on Windows

The windows-latest container takes first place in the GitHub Actions environment variables race with a listing of 120:

ALLUSERSPROFILE=C:\ProgramData
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
ANDROID_NDK_HOME=C:\Program Files (x86)\Android\android-sdk\ndk-bundle
ANDROID_NDK_PATH=C:\Program Files (x86)\Android\android-sdk\ndk-bundle
ANDROID_SDK_ROOT=C:\Program Files (x86)\Android\android-sdk
ANT_HOME=C:\ProgramData\chocolatey\lib\ant\tools\apache-ant-1.10.9
APPDATA=C:\Users\runneradmin\AppData\Roaming
AZURE_EXTENSION_DIR=C:\Program Files\Common Files\AzureCliExtensionDirectory
BOOST_ROOT_1_69_0=C:\hostedtoolcache\windows\Boost\1.69.0\x86_64
BOOST_ROOT_1_72_0=C:\hostedtoolcache\windows\Boost\1.72.0\x86_64
ChocolateyInstall=C:\ProgramData\chocolatey
ChromeWebDriver=C:\SeleniumWebDrivers\ChromeDriver
CI=true
COBERTURA_HOME=C:\cobertura-2.1.1
COMMONPROGRAMFILES=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=fv-az108-346
COMSPEC=C:\windows\system32\cmd.exe
CONDA=C:\Miniconda
DEPLOYMENT_BASEPATH=C:\actions
DOTNET_MULTILEVEL_LOOKUP=0
DriverData=C:\Windows\System32\Drivers\DriverData
EdgeWebDriver=C:\SeleniumWebDrivers\EdgeDriver
GCM_INTERACTIVE=Never
GeckoWebDriver=C:\SeleniumWebDrivers\GeckoDriver
GITHUB_ACTION=run
GITHUB_ACTIONS=true
GITHUB_ACTOR=learn-github-actions
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=
GITHUB_ENV=D:\a\_temp\_runner_file_commands\set_env_b6f2af2e-458c-4990-b67f-6f9a9d664614
GITHUB_EVENT_NAME=push
GITHUB_EVENT_PATH=D:\a\_temp\_github_workflow\event.json
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_HEAD_REF=
GITHUB_JOB=github-actions-environment-variables-windows
GITHUB_PATH=D:\a\_temp\_runner_file_commands\add_path_b6f2af2e-458c-4990-b67f-6f9a9d664614
GITHUB_REF=refs/heads/main
GITHUB_REPOSITORY=learn-github-actions/getting-started-github-actions
GITHUB_REPOSITORY_OWNER=learn-github-actions
GITHUB_RETENTION_DAYS=90
GITHUB_RUN_ID=356470921
GITHUB_RUN_NUMBER=2
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=bd55886e2fdb736df000375418c501abca2d3721
GITHUB_WORKFLOW=Publish GitHub Actions Artifacts Example
GITHUB_WORKSPACE=D:\a\getting-started-github-actions\getting-started-github-actions
GOROOT=C:\hostedtoolcache\windows\go\1.14.10\x64
GOROOT_1_10_X64=C:\hostedtoolcache\windows\go\1.10.8\x64
GOROOT_1_11_X64=C:\hostedtoolcache\windows\go\1.11.13\x64
GOROOT_1_12_X64=C:\hostedtoolcache\windows\go\1.12.17\x64
GOROOT_1_13_X64=C:\hostedtoolcache\windows\go\1.13.15\x64
GOROOT_1_14_X64=C:\hostedtoolcache\windows\go\1.14.10\x64
GOROOT_1_15_X64=C:\hostedtoolcache\windows\go\1.15.3\x64
GOROOT_1_9_X64=C:\hostedtoolcache\windows\go\1.9.7\x64
GRADLE_HOME=C:\ProgramData\chocolatey\lib\gradle\tools\gradle-6.7
HOMEDRIVE=C:
HOMEPATH=\Users\runneradmin
IEWebDriver=C:\SeleniumWebDrivers\IEDriver
ImageOS=win19
ImageVersion=20201021.0
JAVA_HOME=C:\Program Files\Java\jdk8u265-b01
JAVA_HOME_11_X64=C:\Program Files\Java\jdk-11.0.8+10
JAVA_HOME_13_X64=C:\Program Files\Java\jdk-13.0.2+8
JAVA_HOME_7_X64=C:\Program Files\Java\zulu-7-azure-jdk_7.31.0.5-7.0.232-win_x64
JAVA_HOME_8_X64=C:\Program Files\Java\jdk8u265-b01
LOCALAPPDATA=C:\Users\runneradmin\AppData\Local
LOGONSERVER=\\fv-az108-346
M2=C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin
M2_HOME=C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3
M2_REPO=C:\ProgramData\m2
MAVEN_OPTS=-Xms256m
MonAgentClientLocation=C:\Packages\Plugins\Microsoft.Azure.Geneva.GenevaMonitoring\2.19.0.1\Monitoring\Agent
npm_config_cache=C:\npm\cache
npm_config_prefix=C:\npm\prefix
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
PATH=/c/Program Files/PowerShell/7:/c/Users/runneradmin/.dotnet/tools:/c/Program Files/Mercurial:/c/Program Files/MongoDB/Server/4.4/bin:/c/aliyun-cli:/c/ProgramData/kind:/c/vcpkg:/c/cf-cli:/c/Program Files (x86)/NSIS:/c/Program Files/Mercurial:/c/hostedtoolcache/windows/stack/2.5.1/x64:/c/ProgramData/chocolatey/lib/ghc.8.10.2.1/tools/ghc-8.10.2/bin:/c/Program Files/dotnet:/c/mysql-5.7.21-winx64/bin:/c/Program Files/R/R-4.0.3/bin/x64:/c/SeleniumWebDrivers/GeckoDriver:/c/Program Files (x86)/sbt/bin:/c/Rust/.cargo/bin:/c/Program Files (x86)/GitHub CLI:/bin:/c/hostedtoolcache/windows/go/1.14.10/x64/bin:/c/hostedtoolcache/windows/Python/3.7.9/x64/Scripts:/c/hostedtoolcache/windows/Python/3.7.9/x64:/c/hostedtoolcache/windows/Ruby/2.5.8/x64/bin:/c/Program Files/Java/jdk8u265-b01/bin:/c/npm/prefix:/c/Program Files/Microsoft SDKs/Azure/Azure Dev Spaces CLI:/c/Program Files/Microsoft SDKs/Azure/Azure Dev Spaces CLI:/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin:/c/windows/system32:/c/windows:/c/windows/System32/Wbem:/c/windows/System32/WindowsPowerShell/v1.0:/c/windows/System32/OpenSSH:/c/ProgramData/Chocolatey/bin:/c/Program Files/Microsoft/Web Platform Installer:/c/Program Files/Docker:/c/Program Files/PowerShell/7:/c/Program Files/dotnet:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/c/Program Files (x86)/Microsoft SQL Server/110/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/130/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn:/c/Program Files (x86)/Microsoft SQL Server/150/DTS/Binn:/c/Program Files/nodejs:/c/ProgramData/chocolatey/lib/pulumi/tools/Pulumi/bin:/c/ProgramData/chocolatey/lib/maven/apache-maven-3.6.3/bin:/c/Program Files/Microsoft Service Fabric/bin/Fabric/Fabric.Code:/c/Program Files/Microsoft SDKs/Service Fabric/Tools/ServiceFabricLocalClusterManager:/c/Program Files/OpenSSL/bin:/c/Strawberry/c/bin:/c/Strawberry/perl/site/bin:/c/Strawberry/perl/bin:/cmd:/mingw64/bin:/usr/bin:/c/tools/php:/c/Program Files (x86)/sbt/bin:/c/Program Files/TortoiseSVN/bin:/c/SeleniumWebDrivers/ChromeDriver:/c/SeleniumWebDrivers/EdgeDriver:/c/Program Files/CMake/bin:/c/Program Files/Amazon/AWSCLIV2:/c/Program Files/Amazon/SessionManagerPlugin/bin:/c/Program Files/Amazon/AWSSAMCLI/bin:/c/Program Files (x86)/Google/Cloud SDK/google-cloud-sdk/bin:/c/Users/runneradmin/AppData/Local/Microsoft/WindowsApps
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG
PGBIN=C:\Program Files\PostgreSQL\13\bin
PGDATA=C:\Program Files\PostgreSQL\13\data
PGPASSWORD=root
PGROOT=C:\Program Files\PostgreSQL\13
PGUSER=postgres
PHPROOT=c:\tools\php
POWERSHELL_DISTRIBUTION_CHANNEL=GitHub-Actions-win19
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=4f01
ProgramData=C:\ProgramData
PROGRAMFILES=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PSModulePath=C:\Users\runneradmin\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Modules\azurerm_2.1.0;C:\Modules\azure_2.1.0;C:\Users\packer\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files\Microsoft SQL Server\130\Tools\PowerShell\Modules\;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\PowerShell
PUBLIC=C:\Users\Public
RTOOLS40_HOME=C:\rtools40
RUNNER_OS=Windows
RUNNER_PERFLOG=C:\actions\perflog
RUNNER_TEMP=D:\a\_temp
RUNNER_TOOL_CACHE=C:/hostedtoolcache/windows
RUNNER_TRACKING_ID=github_03c88f51-183c-4d5f-b52a-7099bc3e0f05
RUNNER_WORKSPACE=D:\a\getting-started-github-actions
SBT_HOME=C:\Program Files (x86)\sbt\
SELENIUM_JAR_PATH=C:\selenium\selenium-server-standalone.jar
SYSTEMDRIVE=C:
SYSTEMROOT=C:\windows
TEMP=/tmp
TMP=/tmp
USERDOMAIN=fv-az108-346
USERDOMAIN_ROAMINGPROFILE=fv-az108-346
USERNAME=runneradmin
USERPROFILE=C:\Users\runneradmin
VCPKG_INSTALLATION_ROOT=C:\vcpkg
VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
WINDIR=C:\windows
WIX=C:\Program Files (x86)\WiX Toolset v3.11\
TERM=xterm-256color
HOME=/c/Users/runneradmin

Processing the variables list

This is obviously a lot of data to process. But if you wanted a list of all the GitHub Actions environment variables available to you on the three most popular distros, then ‘you’re welcome.’ But a more effective approach to working with environment variables might be to use that YAML script listed above, and generate your own listing anytime you’re curious about what environment variables are available to your GitHub Actions workflows and shells scripts.

 

 

 

 

 

 

 

 

 

 

 

 

Join the conversation

31 comments

Send me notifications when other members comment.

Please create a username to comment.

Will you consider testing Windows 8.1 Enterprise Preview in your organization?
Cancel
I have to keep up with my non IBM customer base and with XP support waning I anticipate moves to 7 and 8.1
Cancel
Its part of our plan to roll out the next version of windows and 8.1 looks to be a much more enterprise friendly version
Cancel
Thanks for your comments @microeric. Just curious. Will you be deploying Windows 8.1 soon? What version of Windows are you currently using?
Cancel
Long live Windows 7 until this flop is buried.
Cancel
Win 8 (8.1) is a Lame OS for this organization

Win 7 and XP our mainstay
Wait for Win 9 or 10
Cancel
8.1 looks great
Cancel
I thing 8.1 looks interesting
Cancel
Must wait to read reviews and feedback from normal everyday users.
Cancel
Windows 7 is fine for the foreseeable future, really wish Microsoft would have started minor updates with Windows 7 instead of an entirely new OS, in a corporate environment that is huge!
Cancel
Windows 8.x is a complete waste of time. It is geared towards their failing tablet market and not towards businesses. Updates/upgrades are fine, but they need to keep the Win7 look/feel in order for it to be productive. And for God's sake - ADD SOME COLOR TO OFFICE!! As long as our three choices are bright white, dull white and dirty white, it will never be implemented in our company.
Cancel
not much point until the interface gets rid of the hand waving and telephone interface in favor of a productive environment instead of time wasting like facebook and twitter.
Cancel
Windows 8 is a piece of shit! I hate the OS, its lack of backwards compatibility, its crappy user interface, and I just don't feel secure on the "CLOUD". And don't get me started about the MS office 2013 and 365.
Cancel
It's not a business OS. I suggest Microsoft consider writing one.
Cancel
Only an idiot would move their business to Windows 8/8.1. It has no value in the workplace.
Cancel
Going to deploy RTM as soon as available.
Cancel
I want to play and test the new features with windows 8.1 before users get it.
Cancel
We will evaluate 8.x for Ux, as well as deployment and support requirements.
Cancel
Some of the new features are way over due.
Cancel
Windows 8/8.1 is a useless time waster in the corporation as well as the home. More time is wasted in trying to find what you want to use than it takes to do the job. Things that used to work no longer work. The Start screen with its tiles is a poor replacement for the programs menu in previous versions. Everything you need, right from the start is a big joke. The only thing there that I can use is the Desktop Tile to get me to the Desktop which is where I should have been when I logged on. When is Microsoft going to wake up and give people an operating system that is intuitive, fast, compact, and secure instead of these monsters that gobble hard drive real estate and memory.
Cancel
Possibly in time...
Cancel
i don't like what i see now
Cancel
need to evaluate web support
Cancel
so far my experience with windows 8 is that it has been design for 16 yo kids with a tablet.
There is nothing in it that will my company get more productive or better.
What were you thinking about Microsoft ?
Cancel
We will be testing to see if 8.1 is more user friendly.
Cancel
no more upgrades
Cancel
If windows 8 tried to be a katana, the katana'd be a club.
Updating a club to become a katana, ... hmrpf.
But MS's miscarriage has huge impact on creativity all over the world. I never observed such vivid growth in non-windows systems market before.
Cancel
No, they can't entice me, unless and until they wake up from their "useless group-think-slumber" and come up with a version of Windows 8 that restores all of the deleted functions, means, methods and uses that were "STANDARD" in XP and Win 7.
May be in 2 or 3 years, when Win 8.5 comes around.
For a business user, time is money. If Microsoft thinks it is a good thing to require
of users three, four or five keystrokes or mouse clicks, when the same task required JUST ONE KEYSTROKE or JUST ONE MOUSE-CLICK before (in XP and Win 7), then they really don't seem to want any business users at all.
Currently Microsoft is simply listening to the wrong experts. They could have it both ways, by offering the Metro deal to the "gamer, texter, smart phone and facebook user" and by offering the "Standard Useful
XP & Win 7 Interface" to the business user.

But so far they are not smart enough to figure that out.
Cancel
SkyDrive integration is a problem (don't want it). User interface is a disaster. Give us an option to kill Modern Apps & Metro and we might reconsider.
Cancel
Nope, In an enterprise environment, touch screens and tablet like functionality ISN'T needed.
Cancel
I have to so I can support clients buying a new PC
Cancel

SearchAppArchitecture

SearchSoftwareQuality

SearchCloudComputing

SearchSecurity

SearchAWS

Close