1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-28 22:22:47 +02:00

consume new @actions/github for GHES support (#236)

This commit is contained in:
eric sciple 2020-05-07 12:11:11 -04:00 committed by GitHub
parent 94c2de77cc
commit ac455590d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13893 additions and 529 deletions

View file

@ -2,10 +2,6 @@ import * as assert from 'assert'
import {IGitSourceSettings} from './git-source-settings'
import {URL} from 'url'
export function getApiUrl(): string {
return process.env['GITHUB_API_URL'] || 'https://api.github.com'
}
export function getFetchUrl(settings: IGitSourceSettings): string {
assert.ok(
settings.repositoryOwner,