Skip to content

Commit

Permalink
workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
bischoffz committed Feb 4, 2024
1 parent b3dcf18 commit f3435f9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Build Util
run: mvn clean install -DskipTests --file util/pom.xml
- name: Build Taskit
run: mvn clean install --file pom.xml
run: mvn clean package --file pom.xml

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
# - name: Update dependency graph
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
steps:
- name: Checkout Taskit
uses: actions/checkout@v4
- name: Checkout Util
uses: actions/checkout@v4
with:
repository: HHS/ASPR-ms-util
path: util

- name: Set up JDK 17
uses: actions/setup-java@v4
Expand All @@ -35,6 +30,17 @@ jobs:
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
16 changes: 11 additions & 5 deletions .github/workflows/release_pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ jobs:
steps:
- name: Checkout Taskit
uses: actions/checkout@v4
- name: Checkout Util
uses: actions/checkout@v4
with:
repository: HHS/ASPR-ms-util
path: util

- name: Set up JDK 17
uses: actions/setup-java@v4
Expand All @@ -33,6 +28,17 @@ jobs:
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 f3435f9

Please sign in to comment.