Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolai-laevskii committed Oct 4, 2023
1 parent 17340b1 commit 9b35ff0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,15 @@ var pid = core.getState("pidToKill");
process.kill(pid);
```
#### Environment

To check whether action runs on [GitHub Enterprise Server](https://docs.github.com/en/[email protected]/admin/overview/about-github-enterprise-server) you can use isGhes helper:

```js
const core = require('@actions/core')
const isGithubEnterpriseServer = core.isGhes()
```

#### OIDC Token

Expand Down Expand Up @@ -333,3 +342,5 @@ toPlatformPath('/foo/bar') // => \foo\bar
// On a Linux runner.
toPlatformPath('\\foo\\bar') // => /foo/bar
```


0 comments on commit 9b35ff0

Please sign in to comment.