Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
maximtop committed Apr 26, 2024
1 parent 2657248 commit 32d08bc
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion bamboo-specs/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Build:
revision="${bamboo_planRepository_revision}"
# FIXME use github-actions-runner binary after it will be exposed in the docker
GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} node dist/bin/index.js run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow build.yaml --artifacts-path .
GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} node dist/bin/index.js run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow build.yml --artifacts-path .
- inject-variables:
file: build.txt
scope: RESULT
Expand Down
2 changes: 1 addition & 1 deletion bamboo-specs/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Build:
revision="${bamboo_planRepository_revision}"
# FIXME use github-actions-runner binary after it will be exposed in the docker
GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} github-actions-runner run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow example.yaml --artifacts-path .
GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} github-actions-runner run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow example.yml --artifacts-path .
final-tasks:
- script:
interpreter: SHELL
Expand Down
2 changes: 1 addition & 1 deletion bamboo-specs/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Test:
branch="${bamboo_planRepository_branchName}"
revision="${bamboo_planRepository_revision}"
GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} node dist/bin/index.js run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow test.yaml
GITHUB_TOKEN=${bamboo.githubActionsRunnerPassword} node dist/bin/index.js run-action --repo AdguardTeam/GithubActionsRunner --branch "$branch" --rev "$revision" --workflow test.yml
final-tasks:
- script:
interpreter: SHELL
Expand Down
2 changes: 1 addition & 1 deletion src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ program.command('run-action')
'-r, --repo <repo>',
'repository specified as "owner/repo", e.g., "AdguardTeam/GithubActionsRunner"',
)
.requiredOption('-w, --workflow <workflow>', 'workflow file to trigger, e.g., "test.yaml"')
.requiredOption('-w, --workflow <workflow>', 'workflow file to trigger, e.g., "test.yml"')
.requiredOption('-b, --branch <branch>', 'branch name')
.requiredOption('-c, --rev <revision>', 'commit revision')
.option(
Expand Down

0 comments on commit 32d08bc

Please sign in to comment.