Skip to content

Commit e073bd0

Browse files
committed
Update README with instructions on GHES usage.
1 parent 4a60710 commit e073bd0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@ With configure, call it with:
8686
./configure CC="sccache clang" CXX="sccache clang"
8787
```
8888

89+
## Using on GitHub Enterprise Server (GHES)
90+
91+
When using the action on GitHub Enterprise Server installations a valid GitHub.com token must be provided.
92+
93+
```
94+
- name: Run sccache-cache
95+
uses: mozilla-actions/[email protected]
96+
with:
97+
token: ${{ secrets.MY_GITHUB_TOKEN }}
98+
```
99+
100+
Note that using https://github.com/actions/create-github-app-token is a better option than storing a fixed token in the repo secrets.
101+
89102
## Prepare a new release
90103

91104
1. Update the example in README.md

0 commit comments

Comments
 (0)