only run Windows build on Windows runner

main
Marshall Hallenbeck 2023-09-18 18:13:53 -04:00
parent 5728795420
commit e6590b8925
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ jobs:
run: |
pip install shiv
python build_collector.py
- name: Build Windows binary
if: runner.os == "Windows"
run: |
pip install pyinstaller
pyinstaller netexec.spec
- name: Upload nxc binary
uses: actions/upload-artifact@master