You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: