File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 5959 strategy :
6060 fail-fast : false
6161 matrix :
62- os : ['windows-latest', 'ubuntu-latest', 'macos-latest']
62+ include :
63+ - os : windows-latest
64+ artifact_name : dp.exe
65+ asset_name : dp-windows-amd64.exe
66+ - os : ubuntu-latest
67+ artifact_name : dp
68+ asset_name : dp-linux-amd64
69+ - os : macos-latest
70+ artifact_name : dp
71+ asset_name : dp-macos-amd64
6372 steps :
6473 - uses : actions/checkout@v4
6574 - name : Install uv
@@ -73,11 +82,11 @@ jobs:
7382 - name : Install the libraries
7483 run : uv tool install pyinstaller
7584 - name : Run pyinstaller
76- run : uv run pyinstaller -F --paths=dp --add-data="dp/resources:resources" ./dp/dp.py
85+ run : uv run pyinstaller -F -n ${{ matrix.artifact_name }} - -paths=dp --add-data="dp/resources:resources" ./dp/dp.py
7786 - uses : actions/upload-artifact@v4
7887 with :
7988 name : ${{ matrix.os }}
80- path : dist/*
89+ path : dist/dp *
8190 - name : Upload binaries to release
8291 uses : svenstaro/upload-release-action@v2
8392 with :
You can’t perform that action at this time.
0 commit comments