Update README #21
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: Release | |
| on: push | |
| jobs: | |
| win: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| miniforge-version: latest | |
| - name: Install | |
| run: | | |
| conda install -y pyglet cx_freeze ffmpeg | |
| conda list | |
| cxfreeze --version | |
| - name: Build | |
| run: | | |
| .\tools\freeze.bat | |
| xcopy C:\Miniconda3\envs\test\Library\bin\*.dll dist /y | |
| xcopy C:\Miniconda3\envs\test\Library\bin\ffmpeg.exe dist | |
| 7z a brainworkshop.zip dist\* | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: brainworkshop.zip |