Skip to content

Commit 8c9033a

Browse files
committed
ICU-23121 Fix GHA workflow for ICU4X, second try
1 parent 438bed3 commit 8c9033a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/icu4c.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,14 @@ jobs:
935935
with:
936936
name: icuexportdata_output
937937
path: icuexportdata_*.zip
938-
- name: Upload to release
939-
if: ${{ inputs.gitReleaseTag && (startsWith(inputs.gitReleaseTag, 'release-') || startsWith(input.gitReleaseTag, 'icu4x/')) }}
938+
- name: Upload to release tag
939+
if: ${{ inputs.gitReleaseTag && startsWith(inputs.gitReleaseTag, 'release-') }}
940+
run: |
941+
gh release upload ${{ inputs.gitReleaseTag }} icuexportdata_*.zip --clobber
942+
env:
943+
GH_TOKEN: ${{ github.token }}
944+
- name: Upload to icu4x tag
945+
if: ${{ inputs.gitReleaseTag && startsWith(input.gitReleaseTag, 'icu4x/') }}
940946
run: |
941947
gh release upload ${{ inputs.gitReleaseTag }} icuexportdata_*.zip --clobber
942948
env:

0 commit comments

Comments
 (0)