From 046168ebb8cce5e33c0c5b59dfc4c6d0803256a5 Mon Sep 17 00:00:00 2001 From: Marin Minnerly Date: Tue, 5 Mar 2024 14:21:17 -0800 Subject: [PATCH] Add example --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 45786d1..f4f395c 100644 --- a/README.md +++ b/README.md @@ -40,5 +40,14 @@ value as the current environment, which will usually be This parameter exists primarily to allow GitHub Enterprise to point back to GitHub Cloud to install publicly hosted tools. +As such, for any use of this action in GitHub Enterprise, `github-api-url` +should be included like so: +```yaml +- uses: Roblox/setup-foreman@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + github-api-url: "https://api.github.com" +``` + ## License setup-foreman is available under the MIT license. See [LICENSE.txt](LICENSE.txt) or for details.