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 authored Feb 4, 2024
1 parent 0497b0d commit 078795b
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 078795b

Please sign in to comment.