Skip to content

Commit 89d1a03

Browse files
committed
Rename binary after creation
1 parent debb52a commit 89d1a03

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,15 @@ jobs:
5656
python -m ensurepip --upgrade
5757
python -m pip install tox tox-uv tox-gh-actions
5858
tox
59+
60+
- name: Rename binary
61+
run: |
62+
mv dist/mreg-cli${{ contains(matrix.os, 'windows') && '.exe' || '' }} dist/mreg-cli-${{ matrix.os }}-${{ matrix.python-version }}${{ contains(matrix.os, 'windows') && '.exe' || '' }}
63+
5964
- uses: actions/upload-artifact@v4
6065
with:
6166
name: mreg-cli-${{ matrix.os }}-${{ matrix.python-version }}${{ contains(matrix.os, 'windows') && '.exe' || '' }}
62-
path: dist/mreg-cli${{ contains(matrix.os, 'windows') && '.exe' || '' }}
67+
path: dist/mreg-cli-${{ matrix.os }}-${{ matrix.python-version }}${{ contains(matrix.os, 'windows') && '.exe' || '' }}
6368
if-no-files-found: error
6469

6570

0 commit comments

Comments
 (0)