forked from unicode-org/unicodetools
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.34 KB
/
publish-data.yml
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
34
35
36
37
38
39
40
41
42
43
# See https://github.com/unicode-org/unicodetools/blob/main/docs/data-workflow.md#publication
# Test locally with https://github.com/nektos/act:
# act --workflows .github/workflows/publish-data.yml --input releasePhase=Alpha
name: Publish Data
run-name: "${{ github.workflow }}: ${{ inputs.releasePhase }}"
on:
workflow_dispatch:
inputs:
releasePhase: # See ReleasePhase in https://github.com/unicode-org/unicodetools/blob/main/unicodetools/src/main/java/org/unicode/text/utility/Settings.java
description: Release phase
type: choice
options:
- Dev
- Alpha
- Beta
default: Dev
env:
UNI_VER: "17.0.0"
EMOJI_VER: "17.0"
TR10_REV: "tr10-52" # UTS #10 release revision number to be used in CollationTest.html: One more than the last release revision number.
RELEASE_PHASE: ${{ inputs.releasePhase }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
.github/workflows
unicodetools/data/ucd/dev
unicodetools/data/emoji/dev
unicodetools/data/idna/dev
unicodetools/data/idna/idna2008derived
- run: .github/workflows/publish-data.sh
- uses: actions/upload-artifact@v4
with:
path: pub/tmp # See TMP in publish-data.sh