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

Support for Dev/Branch GitHub Actions Builds for Mod and Plugin Updating (Using Artifacts Generated by Workflows) #258

Open
Minionguyjpro opened this issue Jul 19, 2024 · 3 comments

Comments

@Minionguyjpro
Copy link
Contributor

Importance: 6/10

Problem:
Some people may prefer to use a dev or beta build. A lot of developers build their software on GitHub automatically using GitHub Actions. When those run on the main branch it will generate a compiled JAR after every commit which is the dev build based on the latest branch changes. Right now for example I want to use the DriveBackupV2's plugin dev build since this fixes some issues but it's only available as artifact from GitHub Actions.

Solution:
Add support for this. The artifact needs to be downloaded and then unzipped and then the JAR file is inside. This is because GitHub Actions makes the artifacts in ZIP files, and doesn't rawly upload the files directly. So it'd be needed to include an extraction/unZIP function. So it's needed that we can somehow fetch the latest artifact from a workflow from a certain repository (there could be multiple workflows so there needs to be done some stuff to resolve conflicts as those), unZIP the artifact and then move the new JAR file from inside the artifact to either the plugins or mods folder, depending on the type that has been downloaded.

@Minionguyjpro Minionguyjpro changed the title Support for Dev/Branch GitHub Actions Builds for Mod and Plug Updating (Using Artifacts Generated by Workflows) Support for Dev/Branch GitHub Actions Builds for Mod and Plugin Updating (Using Artifacts Generated by Workflows) Jul 19, 2024
@Osiris-Team
Copy link
Owner

Yeah this sounds great, feel free to create a PR!

@Minionguyjpro
Copy link
Contributor Author

Yeah this sounds great, feel free to create a PR!

I will look into it. It will probably however take a while, since this may need a lot of functions to implement.

@Osiris-Team
Copy link
Owner

Check out claude.ai should boost your workflow.

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

No branches or pull requests

2 participants