File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 25
25
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
26
26
inputs :
27
27
gitReleaseTag :
28
- description : ' Release tag to upload to. Must start with "release-"'
28
+ description : ' Release tag to upload to. Must start with "release-" or "icu4x/"'
29
+ type : string
30
+ gitReleaseFilename :
31
+ description : ' Release tag with no slashes, to be used in file names'
29
32
type : string
30
33
31
34
# For non-release branches (namely: PRs), only run CI on the most recent commit. Cancel
@@ -926,14 +929,14 @@ jobs:
926
929
- name : Zip
927
930
run : |
928
931
cd icu4c/source/icuexportdata
929
- zip -r ../../../icuexportdata_${{ inputs.gitReleaseTag }}.zip .
932
+ zip -r ../../../icuexportdata_${{ inputs.gitReleaseFilename }}.zip .
930
933
- name : Publish Artifact
931
934
uses : actions/upload-artifact@v4
932
935
with :
933
936
name : icuexportdata_output
934
937
path : icuexportdata_*.zip
935
938
- name : Upload to release
936
- if : ${{ inputs.gitReleaseTag && startsWith(inputs.gitReleaseTag, 'release-') }}
939
+ if : ${{ inputs.gitReleaseTag && ( startsWith(inputs.gitReleaseTag, 'release-') || startsWith(input.gitReleaseTag, 'icu4x/') ) }}
937
940
run : |
938
941
gh release upload ${{ inputs.gitReleaseTag }} icuexportdata_*.zip --clobber
939
942
env :
You can’t perform that action at this time.
0 commit comments