File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 5959 - name : Build executable (Linux)
6060 if : matrix.os == 'ubuntu-latest'
6161 run : |
62- pyinstaller --onefile --windowed --name SourceBox --icon=assets/images/sourcebox.png --add-data "assets:assets" --exclude-module pkg_resources --exclude-module setuptools --exclude-module numpy --exclude-module pandas --exclude-module matplotlib --hidden-import=OpenGL.platform.glx --hidden-import=OpenGL.arrays.vbo --collect-all OpenGL --noupx --clean Sourcebox.py
63-
62+ pyinstaller --onefile --windowed --name SourceBox --icon=assets/images/sourcebox.png --add-data "assets:assets" --exclude-module pkg_resources --exclude-module setuptools --exclude-module numpy --exclude-module pandas --exclude-module matplotlib --hidden-import=OpenGL.platform.glx --hidden-import=OpenGL.arrays.vbo --collect-all OpenGL --noupx --clean Sourcebox.py
63+
6464 - name : Upload artifact
6565 uses : actions/upload-artifact@v4
6666 with :
6969
7070 - name : Upload to Release
7171 uses : softprops/action-gh-release@v1
72- if : |
73- startsWith(github.ref, 'refs/tags/') ||
74- (github.event_name == 'push' && github.ref == 'refs/heads/main')
72+ # ONLY release when a version tag is pushed
73+ if : startsWith(github.ref, 'refs/tags/v')
7574 with :
7675 files : dist/${{ matrix.output_name }}
77- tag_name : ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || 'latest' }}
78- draft : false
79- prerelease : false
8076 env :
8177 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments