Skip to content

Commit 0e23a69

Browse files
authored
feat: support ghe (#15)
Signed-off-by: Rishav Dhar <[email protected]>
1 parent 0ff24ef commit 0e23a69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ runs:
1212
# Populate environment variables.
1313
echo GH_API="X-GitHub-Api-Version:2022-11-28" >> "$GITHUB_ENV"
1414
echo GH_TOKEN="${{ inputs.token }}" >> "$GITHUB_ENV"
15+
if [[ "$GITHUB_SERVER_URL" != "https://github.com" ]]; then echo GH_HOST=$(echo "$GITHUB_SERVER_URL" | sed 's/.*:\/\///') >> "$GITHUB_ENV"; fi
1516
1617
- id: data
1718
shell: bash

0 commit comments

Comments
 (0)