Fixing paths for OSes (#1101)

pull/1102/head
Sankalp Kotewar 2 years ago committed by GitHub
parent e08330827d
commit 2b8105bdae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,22 +107,31 @@ Below are GiHub hosted runner specific paths one should take care of when writin
#### Ubuntu Paths
Home directory (`~/`) = `/home/runner`
`${{ github.workspace }}` = `/home/runner/work/repo/repo`
`process.env['RUNNER_TEMP']`=`/home/runner/work/_temp`
`process.cwd()` = `/home/runner/work/repo/repo`
#### Windows Paths
Home directory (`~/`) = `C:\Users\runneradmin`
`${{ github.workspace }}` = `D:\a\repo\repo`
`process.env['RUNNER_TEMP']` = `D:\a\_temp`
`process.cwd()` = `D:\a\repo\repo`
#### macOS Paths
Home directory (`~/`) = `/Users/runner`
`${{ github.workspace }}` = `/Users/runner/work/repo/repo`
`process.env['RUNNER_TEMP']` = `/Users/runner/work/_temp`
`process.cwd()` = `/Users/runner/work/repo/repo`
Where:

Loading…
Cancel
Save