diff --git a/.github/workflows/build-json.yml b/.github/workflows/build-json.yml index e46919aef7..821291ebff 100644 --- a/.github/workflows/build-json.yml +++ b/.github/workflows/build-json.yml @@ -52,6 +52,13 @@ jobs: lfs: false repository: ${{ github.event.inputs.cldr-repo }} path: cldr + - name: Cache local Maven repository + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('cldr/tools/**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - name: Clone Data uses: actions/checkout@v4 with: @@ -59,4 +66,18 @@ jobs: repository: ${{ github.event.inputs.data-repo }} sparse-checkout: ${{ github.event.inputs.data-dir }} path: cldr-staging + - name: Setup Config + run: | + cd cldr-json + echo VERSION=${{ github.event.inputs.version }} > local-config.sh + echo CLDR_DIR=../cldr >> local-config.sh + echo INDATA=../cldr-staging/${{ github.event.inputs.data-dir }} >> local-config.sh + cat local-config.sh + bash cldr-identify.sh | tee ../cldr-identity.txt + - name: Upload cldr-identity.txt + uses: actions/upload-artifact@v4 + with: + name: cldr-identity + path: ./cldr-identity.txt +