Skip to content

Commit

Permalink
fixes path to registry jar
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronzi committed Dec 6, 2024
1 parent afcf5fe commit b1a3cf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ jobs:
# Go three levels up from src/main/docker to get the module root
module_root=$(dirname "$(dirname "$(dirname "${{ matrix.path }}")")")
# Find the large JAR after repackage (enabled by dockerbuild profile)
JAR_FILE=$(ls "$module_root/target/"*.jar | grep -v original | head -n 1)
# Find the repackaged JAR in the new location
JAR_FILE=$(ls "$module_root/target/docker/aaronzi/build/maven/"*.jar | head -n 1)
if [ -z "$JAR_FILE" ]; then
echo "No repackaged JAR found in $module_root/target. Check your build."
echo "No repackaged JAR found in $module_root/target/docker/aaronzi/build/maven/. Check your build."
exit 1
fi
Expand Down

0 comments on commit b1a3cf5

Please sign in to comment.