Skip to content

Commit

Permalink
CLDR-16393 unbreak maven tag (#3608)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored Apr 3, 2024
1 parent b1c3e67 commit a9b098f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,20 @@ jobs:
mvn-deploy:
runs-on: ubuntu-latest
steps:
# since we have to checkout all branches, cache here
- name: Cache .git
uses: actions/cache@v3
with:
path: .git
key: git-${{ github.base_ref }}-${{ github.sha }}
restore-keys: |
git-${{ github.base_ref }}-${{ github.sha }}
git-${{ github.base_ref }}
git-
- uses: actions/checkout@v4
with:
lfs: false
fetch-depth: 0 # for cldr-archive
- name: Set up JDK
uses: actions/setup-java@v4
with:
Expand All @@ -28,6 +39,9 @@ jobs:
-DskipTests=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout CLDR archive
run: >
mkdir -v ../cldr-archive && java -jar tools/cldr-code/target/cldr-code.jar checkout-archive
- name: set version to generic number
run: |
mvn -s .github/workflows/mvn-settings.xml --file tools/pom.xml versions:set -DnewVersion=0.0.0-SNAPSHOT-$(echo ${GITHUB_SHA} | cut -c1-10)
Expand Down

0 comments on commit a9b098f

Please sign in to comment.