Open nkitsaini opened 1 year ago
@nkitsaini I think the trigger can be something else, so that it eliminates the manual effort of pushing the release.
My automating releases I dont mean that the release itself gets triggered on its own, I mean that whenever I make a release, it builds the updated exe file and embeds it into the release itself
@Mayank0255 I see. let me make the changes.
@Mayank0255 I've made the changes. See Pull request description detail.
@nkitsaini have you tested if its working or not?
@Mayank0255 Yes, it is working. I've invited you to my fork. You can create manual releases and the .exe
file will be attached to release artifacts once the github action is executed.
@Mayank0255 Yes, it is working. I've invited you to my fork. You can create manual releases and the
.exe
file will be attached to release artifacts once the github action is executed.
Ya, I saw that, but the game is crashing on launch itself, pls check that
@Mayank0255 Interesting, Which version of python are you using?
@nkitsaini I am using 3.10.1
@Mayank0255 Can you try the newer build from here: https://github.com/nkitsaini/Galaxy-Attack/releases/tag/manual-11 ? I do not have windows available at the moment. If this does not work, I'll take a look later this week.
@Mayank0255 Can you try the newer build from here: https://github.com/nkitsaini/Galaxy-Attack/releases/tag/manual-11 ? I do not have windows available at the moment. If this does not work, I'll take a look later this week.
Getting a different error
Traceback (most recent call last):
File "main.py", line 7, in <module>
ModuleNotFoundError: No module named 'screens.controls'
The action will trigger whenever a
stable
orpre-release
release is published. It'll build theEXE
for that specific release and add it to the release artifacts.The action will not run when
draft
is created. It's a limitation from github right now: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release