4
4
# Allows running this workflow manually from the Actions tab
5
5
workflow_dispatch :
6
6
inputs :
7
- repository :
8
- description : " Slicer repository for which to build and publish the documentation"
7
+ slicer_repository :
8
+ description : " Slicer Repository for which to build and publish the documentation"
9
9
default : Slicer/Slicer
10
- ref :
11
- description : " Slicer branch or tag for which to build and publish the documentation"
10
+ slicer_ref :
11
+ description : " Slicer Branch or tag for which to build and publish the documentation"
12
12
default : main
13
13
14
14
permissions :
@@ -24,22 +24,22 @@ jobs:
24
24
run : |
25
25
echo "EVENT_NAME [$EVENT_NAME]"
26
26
if [[ "$EVENT_NAME" == "workflow_dispatch" ]]; then
27
- repository =${{ github.event.inputs.repository }}
28
- ref =${{ github.event.inputs.ref }}
27
+ slicer_repository =${{ github.event.inputs.slicer_repository }}
28
+ slicer_ref =${{ github.event.inputs.slicer_ref }}
29
29
else
30
30
echo "::error ::Unsupported EVENT_NAME [$EVENT_NAME]"
31
31
exit 1
32
32
fi
33
- echo "repository=$repository " >> $GITHUB_OUTPUT
34
- echo "ref=$ref " >> $GITHUB_OUTPUT
33
+ echo "slicer_repository=$slicer_repository " >> $GITHUB_OUTPUT
34
+ echo "slicer_ref=$slicer_ref " >> $GITHUB_OUTPUT
35
35
env :
36
36
EVENT_NAME : ${{ github.event_name }}
37
37
38
38
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39
39
with :
40
- repository : ${{ steps.collect_inputs.outputs.repository }}
40
+ repository : ${{ steps.collect_inputs.outputs.slicer_repository }}
41
41
path : Slicer
42
- ref : ${{ steps.collect_inputs.outputs.ref }}
42
+ ref : ${{ steps.collect_inputs.outputs.slicer_ref }}
43
43
44
44
- name : Determine if ref is branch or tag
45
45
id : determine
74
74
75
75
fi
76
76
env :
77
- SLICER_REPO_REF : ${{ steps.collect_inputs.outputs.ref }}
77
+ SLICER_REPO_REF : ${{ steps.collect_inputs.outputs.slicer_ref }}
78
78
79
79
- uses : ssciwr/doxygen-install@527824132256e685f03ec80c0851fe79937eb1d6 # v1.6.3
80
80
with :
@@ -211,7 +211,7 @@ jobs:
211
211
PUBLISH_GITHUB_PROJECT_NAME : apidocs.slicer.org
212
212
PUBLISH_GITHUB_USERNAME : ${{ steps.committer.outputs.committer-name }}
213
213
PUBLISH_GITHUB_USERMAIL : ${{ steps.committer.outputs.committer-email }}
214
- SLICER_REPO_NAME : ${{ steps.collect_inputs.outputs.repository }}
214
+ SLICER_REPO_NAME : ${{ steps.collect_inputs.outputs.slicer_repository }}
215
215
SLICER_REPO_BRANCH : ${{ steps.determine.outputs.slicer_repo_branch }}
216
216
SLICER_REPO_TAG : ${{ steps.determine.outputs.slicer_repo_tag }}
217
217
0 commit comments