add comment about PyAudio Windows wheels #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Windows .exe using pyinstaller | |
| on: push | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Merge requirements | |
| run: cat src/requirements.txt >> build/requirements.txt | |
| - name: Package Application | |
| uses: JackMcKew/pyinstaller-action-windows@main | |
| with: | |
| path: build | |
| requirements: requirements.txt | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: chirplab-win | |
| path: build/dist/windows | |
| - name: Zip for release | |
| if: startsWith(github.ref, 'refs/tags/') | |
| run: cd build/dist/windows; zip -r chirplab_${{ github.ref_name }}_win.zip *; cd ../../../ | |
| - name: Add bundle to release | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: build/dist/windows/chirplab_${{ github.ref_name }}_win.zip | |