From 56ae9a94b7d5d1840765f9d790f13c581cdc2949 Mon Sep 17 00:00:00 2001 From: "argonautbot[bot]" <84760521+argonautbot[bot]@users.noreply.github.com> Date: Fri, 19 Jan 2024 16:12:45 +0000 Subject: [PATCH] argonaut workflow Setup : --- .../argonaut-axyxropkw3agbtlk-build.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/argonaut-axyxropkw3agbtlk-build.yaml diff --git a/.github/workflows/argonaut-axyxropkw3agbtlk-build.yaml b/.github/workflows/argonaut-axyxropkw3agbtlk-build.yaml new file mode 100644 index 0000000..2746a9d --- /dev/null +++ b/.github/workflows/argonaut-axyxropkw3agbtlk-build.yaml @@ -0,0 +1,49 @@ +name: "Exponent - Argonaut" + +run-name: "${{inputs.arg_task_title}}" + +on: + workflow_dispatch: + inputs: + arg_task_title: + required: false + type: string + default: "[Argonaut] [manual] axyxropkw3agbtlk build - manual" + description: task short title to be used for display, format [Argonaut] [] - + 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.axyxropkw3agbtlk_ARGONAUT_KEY }} + auth-secret: ${{ secrets.axyxropkw3agbtlk_ARGONAUT_SECRET }} + extra-args: ${{ inputs.arg_extra_vars }} \ No newline at end of file