File tree Expand file tree Collapse file tree 1 file changed +4
-22
lines changed
Expand file tree Collapse file tree 1 file changed +4
-22
lines changed Original file line number Diff line number Diff line change 2323 description : ' Unique artifact name prefix (to avoid overriding existing artifcats during parallel runs).'
2424 required : true
2525 type : string
26- artifact_prev_name_add_version :
27- description : ' Add version to artifact name to download.'
28- required : false
29- default : true
30- type : boolean
31- artifact_curr_name_add_version :
32- description : ' Add version to artifact name to upload.'
33- required : false
34- default : true
35- type : boolean
3626 has_refs :
3727 description : ' The ref build matrix as JSON string (list of git refs to build/deploy).'
3828 required : true
@@ -98,18 +88,10 @@ jobs:
9888 VERSION="${{ matrix.version }}"
9989 ARCH="$( echo "${{ matrix.arch }}" | sed 's|/|-|g' )"
10090
101- if [ "${{ inputs.artifact_prev_name_add_version }}" = "true" ]; then
102- NAME_PREV="${{ inputs.artifact_prefix }}-${PRE_HASH}-${VERSION}-${ARCH}-${{ inputs.stage_prev }}"
103- else
104- NAME_PREV="${{ inputs.artifact_prefix }}-${PRE_HASH}-${ARCH}-${{ inputs.stage_prev }}"
105- fi
106- if [ "${{ inputs.artifact_curr_name_add_version }}" = "true" ]; then
107- NAME_CURR="${{ inputs.artifact_prefix }}-${PRE_HASH}-${VERSION}-${ARCH}-${{ inputs.stage }}"
108- else
109- NAME_CURR="${{ inputs.artifact_prefix }}-${PRE_HASH}-${ARCH}-${{ inputs.stage }}"
110- fi
111- echo "::set-output name=prev::${NAME_PREV}"
112- echo "::set-output name=curr::${NAME_CURR}"
91+ NAME_PREV="${{ inputs.artifact_prefix }}-${PRE_HASH}-${VERSION}-${ARCH}-${{ inputs.stage_prev }}"
92+ NAME_CURR="${{ inputs.artifact_prefix }}-${PRE_HASH}-${VERSION}-${ARCH}-${{ inputs.stage }}"
93+ echo "prev::${NAME_PREV}" >> $GITHUB_OUTPUT
94+ echo "curr::${NAME_CURR}" >> $GITHUB_OUTPUT
11395
11496 - name : " [DEBUG] Show setup"
11597 shell : bash
You can’t perform that action at this time.
0 commit comments