-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from palloberg/set-baseurl
Set baseUrl for Octokit to make it work on GitHub Enterprise Server
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,19 @@ With configure, call it with: | |
./configure CC="sccache clang" CXX="sccache clang" | ||
``` | ||
|
||
## Using on GitHub Enterprise Server (GHES) | ||
|
||
When using the action on GitHub Enterprise Server installations a valid GitHub.com token must be provided. | ||
|
||
``` | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
token: ${{ secrets.MY_GITHUB_TOKEN }} | ||
``` | ||
|
||
Note that using https://github.com/actions/create-github-app-token is a better option than storing a fixed token in the repo secrets. | ||
|
||
## Prepare a new release | ||
|
||
1. Update the example in README.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters