Skip to content

Commit

Permalink
fix the modules root
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronzi committed Dec 6, 2024
1 parent fc6f8ff commit 6733b62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
- name: Prepare Registry JAR for Docker
if: contains(matrix.name, 'registry')
run: |
# module_root goes two directories up from src/main/docker
module_root=$(dirname "$(dirname "${{ matrix.path }}")")
# Go three levels up from src/main/docker to get the module root
module_root=$(dirname "$(dirname "$(dirname "${{ matrix.path }}")")")
# Find the JAR in the module's target directory
JAR_FILE=$(ls "$module_root/target/"*.jar | head -n 1)
Expand Down

0 comments on commit 6733b62

Please sign in to comment.