File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,21 @@ jobs:
1212 - name : Checkout repository
1313 uses : actions/checkout@v2
1414
15+ - name : Install Docker on macOS
16+ run : |
17+ brew install --cask docker
18+ open /Applications/Docker.app
19+ while ! docker system info > /dev/null 2>&1; do sleep 1; done
20+
1521 - name : Build Docker image
16- run : docker build --no-cache -f ./linux/Dockerfile -t pyinstaller-macos .
22+ run : docker build --no-cache -f ./linux/Dockerfile -t pyinstaller-linux .
1723
1824 - name : Create dist directory
1925 run : mkdir -p macos/dist
2026
2127 - name : Run Docker container
2228 run : docker run --rm -v "${{ github.workspace }}/macos/dist:/dist" \
23- pyinstaller-macos pyinstaller main.py \
29+ pyinstaller-linux pyinstaller main.py \
2430 --onedir --onefile --clean --console \
2531 --distpath /dist \
2632 --workpath /build \
You can’t perform that action at this time.
0 commit comments