Skip to content

Commit 1602510

Browse files
rename built executables
1 parent 6d58dae commit 1602510

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ jobs:
5353
run: pip install pyinstaller .
5454
- name: build executable
5555
run: pyinstaller packetraven/packetraven.py --windowed --onefile
56+
- name: rename Mac OSX executable
57+
if: matrix.os == 'macos-latest'
58+
shell: bash
59+
run: mv dist/__main__ dist/packetraven
60+
- name: rename Windows executable
61+
if: matrix.os == 'windows-latest'
62+
shell: bash
63+
run: mv dist/__main__.exe dist/packetraven.exe
5664
- name: Upload files to a GitHub release
5765
uses: svenstaro/upload-release-action@2.2.1
5866
with:

0 commit comments

Comments
 (0)