aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pipeline_run.yml
blob: 55a2ce7d05ff24486907261846970e892e8a531d (plain) (blame)
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: Publish Pipeline

run-name: |
  Publish pipeline to Artifactory

on:
  workflow_dispatch:
    inputs:
      delivery_file:
        type: string
        description: Delivery file
        required: true
        default: ""

      verbose:
        type: boolean
        default: false

      continue_on_error:
        type: boolean
        default: false

      stasis_args:
        type: string
        description: Arguments to pass to STASIS
        required: false
        default: ""

jobs:
  publish:
    name: Publish
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: STASIS (${{ runner.os }}-${{ runner.arch }})
        uses: ./.github/actions/stasis
        with:
          prefix: ${{ github.workspace }}/.local
          artifactory_url: https://blah.tld
          artifactory_repo: ${{ inputs.artifactory_repo }}
          stasis_args: ${{ inputs.stasis_args }}
          option_delivery_file: ${{ inputs.delivery_file }}
          option_verbose: ${{ inputs.verbose }}
          option_continue_on_error: ${{ inputs.continue_on_error }}