-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd2f57e
commit bba4f01
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: "Tork - Argonaut" | ||
|
||
run-name: "${{inputs.arg_task_title}}" | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
arg_task_title: | ||
required: false | ||
type: string | ||
default: "[Argonaut] [manual] akp06vb2z9rq6rep build - manual" | ||
description: task short title to be used for display, format [Argonaut] [<Task Id>] <organization> <steptype> - <stepname> | ||
arg_task_id: | ||
required: true | ||
type: string | ||
description: build-id | ||
arg_task_name: | ||
required: true | ||
type: string | ||
description: task name | ||
arg_ref: | ||
required: true | ||
type: string | ||
description: user repo ref to be used for task | ||
arg_extra_vars: | ||
required: false | ||
type: string | ||
description: field for passing extra info, reserved for future | ||
|
||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Execute Task | ||
steps: | ||
- name: Get the version | ||
id: get_version | ||
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} | ||
- name: Execute Argonaut task | ||
uses: argonautdev/argonaut-action@main | ||
id: argo-task | ||
with: | ||
task-id: ${{ inputs.arg_task_id }} | ||
task-name: ${{ inputs.arg_task_name }} | ||
ref: ${{ inputs.arg_ref }} | ||
auth-key: ${{ secrets.akp06vb2z9rq6rep_ARGONAUT_KEY }} | ||
auth-secret: ${{ secrets.akp06vb2z9rq6rep_ARGONAUT_SECRET }} | ||
extra-args: ${{ inputs.arg_extra_vars }} |