async pipeline

pull/479/head
Frostebite 2023-01-18 20:28:46 +00:00
parent 36d7cf9778
commit 31f273d662
4 changed files with 9 additions and 5 deletions

View File

@ -83,6 +83,10 @@ inputs:
required: false
default: ''
description: '[CloudRunner] Github private token to pull from github'
githubOwner:
required: false
default: ''
description: '[CloudRunner] GitHub owner name or organization/team name'
chownFilesTo:
required: false
default: ''

4
dist/index.js vendored
View File

@ -723,10 +723,10 @@ class CloudRunnerOptions {
return CloudRunnerOptions.getInput('githubChecks') || false;
}
static get githubOwner() {
return CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
return CloudRunnerOptions.getInput('githubOwner') || CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
}
static get githubRepoName() {
return CloudRunnerOptions.githubRepo.split(`/`)[1] || false;
return CloudRunnerOptions.getInput('githubRepoName') || CloudRunnerOptions.githubRepo.split(`/`)[1] || false;
}
// ### ### ###
// Git syncronization parameters

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -64,11 +64,11 @@ class CloudRunnerOptions {
}
static get githubOwner() {
return CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
return CloudRunnerOptions.getInput('githubOwner') || CloudRunnerOptions.githubRepo.split(`/`)[0] || false;
}
static get githubRepoName() {
return CloudRunnerOptions.githubRepo.split(`/`)[1] || false;
return CloudRunnerOptions.getInput('githubRepoName') || CloudRunnerOptions.githubRepo.split(`/`)[1] || false;
}
// ### ### ###