Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package not publishing to GitHub #150

Open
eTzmNcbkrng opened this issue Jan 29, 2023 · 2 comments
Open

Package not publishing to GitHub #150

eTzmNcbkrng opened this issue Jan 29, 2023 · 2 comments

Comments

@eTzmNcbkrng
Copy link

I must be stupid, I've tried this so many times and cannot get it to work.

I'm using multiple GitHub actions to try to completely automate the package generation after every commit, everything is successful except it just does not publish the .zip on GitHub.

Can you please take a look at my Actions log and tell me what am I missing?

https://github.com/eTzmNcbkrng/WardTools/actions

@Nevcairiel
Copy link
Member

The packager does not see tags that are created inside your action, because it uses the GitHub API to create the tag in the remote repository, rather then applying it to the checkout inside the action runner.

As a result, the packager only creates "alpha" packages, which do not get uploaded to GitHub.

@eTzmNcbkrng
Copy link
Author

eTzmNcbkrng commented Jan 30, 2023

I kind of understand what you are saying, I have changed it so that a discrete action creates a tag and release on every push to master (which succeeds) and then a secondary action which is supposed to run the packager whenever a tag is created however the secondary action never fires.

Is there a simpler method for achieving what I am trying to do - automatically create a new package whenever a commit is made to master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants