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 required: false
default: '' default: ''
description: '[CloudRunner] Github private token to pull from github' description: '[CloudRunner] Github private token to pull from github'
githubOwner:
required: false
default: ''
description: '[CloudRunner] GitHub owner name or organization/team name'
chownFilesTo: chownFilesTo:
required: false required: false
default: '' default: ''

4
dist/index.js vendored
View File

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