Skip to content

Commit 950bc66

Browse files
cryptobenchclaude
andcommitted
Fix CI: Handle artifact download path correctly
- Added explicit path: . to download-artifact - Use find command to locate JAR regardless of path - Added debug step to list downloaded files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6be5581 commit 950bc66

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
uses: actions/download-artifact@v4
4545
with:
4646
name: EasyWebMap
47+
path: .
48+
49+
- name: List downloaded files
50+
run: ls -la
4751

4852
- name: Checkout for commit info
4953
uses: actions/checkout@v4
@@ -63,7 +67,11 @@ jobs:
6367
echo "EOF" >> $GITHUB_OUTPUT
6468
6569
- name: Rename JAR
66-
run: mv EasyWebMap-*.jar EasyWebMap-${{ steps.version.outputs.version }}.jar
70+
run: |
71+
# Find the JAR wherever it is
72+
JAR_FILE=$(find . -name "EasyWebMap-*.jar" -type f | head -1)
73+
echo "Found JAR: $JAR_FILE"
74+
mv "$JAR_FILE" EasyWebMap-${{ steps.version.outputs.version }}.jar
6775
6876
- name: Create Release
6977
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)