Skip to content

Commit 39138cd

Browse files
authored
Update python-package.yml
remove file collisions for uploading artifacts to releases
1 parent f76fdab commit 39138cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,16 @@ jobs:
166166
167167
pyinstaller $COMMON_ARGS $BIN_ARGS script.py
168168
169+
- name: Rename binaries for release
170+
shell: bash
171+
run: |
172+
cd dist
173+
if [[ "$RUNNER_OS" == "macOS" ]]; then
174+
mv MemorEasy MemorEasy-macOS
175+
elif [[ "$RUNNER_OS" == "Linux" ]]; then
176+
mv MemorEasy MemorEasy-Linux
177+
fi
178+
169179
- name: Upload artifact
170180
uses: actions/upload-artifact@v4
171181
with:

0 commit comments

Comments
 (0)