Skip to content

Commit 1881513

Browse files
committed
fix artifact name issue
1 parent d1bd2d7 commit 1881513

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727
2828
- name: Build executable
2929
run: |
30-
poetry run pyinstaller --onefile --name upload_images upload_all_images_in_markdown/main.py # Build the executable
30+
poetry run pyinstaller --onefile --name "upload-images" upload_all_images_in_markdown/main.py # Build the executable with hyphen
31+
dir dist # List the contents of the dist directory for debugging
3132
3233
- name: Upload artifact
3334
uses: actions/upload-artifact@v4 # Upload the generated .exe file
3435
with:
35-
name: upload-images.exe
36-
path: upload_all_images_in_markdowndist/dist/upload-images.exe
36+
name: upload-images
37+
path: dist/upload-images.exe # Path with hyphen

0 commit comments

Comments
 (0)