Skip to content

Commit

Permalink
Update dev-pre-mavencentral.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bischoffz committed Feb 4, 2024
1 parent a9eba5e commit 7f4e975
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/dev-pre-mavencentral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,21 @@ jobs:
steps:
- name: Checkout Taskit
uses: actions/checkout@v3
- name: Checkout Util
uses: actions/checkout@v3
with:
repository: HHS/ASPR-ms-util
path: util
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Get Util Version
run: |
echo "util_version=v$(mvn help:evaluate -Dexpression=util.version -q -DforceStdout --file pom.xml)" >> "$GITHUB_ENV"
- name: Checkout Util
uses: actions/checkout@v4
with:
repository: HHS/ASPR-ms-util
path: util
ref: ${{ (endsWith(env.util_version, 'SNAPSHOT') && 'dev') || env.util_version }}
- name: Build Util
run: mvn clean install -DskipTests --file util/pom.xml
- name: Build Taskit
Expand Down

0 comments on commit 7f4e975

Please sign in to comment.