-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (30 loc) · 1.14 KB
/
trigger-generate-reference.yml
File metadata and controls
33 lines (30 loc) · 1.14 KB
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
name: Trigger Reference generation (dispatch)
permissions:
contents: write
actions: read
on:
workflow_dispatch:
inputs:
antares_tag:
description: "Antares_Simulator solver tag"
required: true
type: string
antares_tests_tag:
description: "Antares_Simulator_Tests_NR tag (optional)"
required: false
default: ''
type: string
release_tag:
description: "Release tag (optional)"
required: false
default: ''
type: string
jobs:
call-generate-reference:
# Call the reusable workflow defined in this repo
uses: ./.github/workflows/generate-reference.yml
with:
antares_tag: ${{ github.event.inputs.antares_tag || github.event.client_payload.antares_tag }}
antares_tests_tag: ${{ github.event.inputs.antares_tests_tag || github.event.client_payload.antares_tests_tag || '' }}
release_tag: ${{ github.event.inputs.release_tag || github.event.client_payload.release_tag || '' }}
target_branch: ${{ github.event.inputs.target_branch || github.event.client_payload.target_branch || 'main' }}