forked from kubowania/battleships
-
Notifications
You must be signed in to change notification settings - Fork 19
47 lines (44 loc) · 1.42 KB
/
argonaut-argonautdev-build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: "argonautdev - Argonaut"
run-name: "${{inputs.arg_task_title}}"
on:
workflow_dispatch:
inputs:
arg_task_title:
required: false
type: string
default: "[Argonaut] [manual] argonautdev 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: warp-ubuntu-latest-x64-4x
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.argonautdev_ARGONAUT_KEY }}
auth-secret: ${{ secrets.argonautdev_ARGONAUT_SECRET }}
extra-args: ${{ inputs.arg_extra_vars }}