Add Ubuntu 22.04 build and fix release artifact paths #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Really cool app! It's the only GUI ADB File Browser I've found that works on Linux. However, I noticed the current linux releases don't work on the still very popular Ubuntu 22.04 version since the Github runner
ubuntu-latest
uses 24.04; it gives the error:when trying to run.
This PR does two main things:
Adds a build for Ubuntu 22.04 LTS. The workflow was previously only building for ubuntu-latest (24.04). Since 22.04 is a very popular LTS release, adding a separate build for it will help ensure compatibility and provide a dedicated binary for users on that system.
Fixes the release job. While adding the new build target, I noticed that the download-artifact action places each artifact into its own named subdirectory (e.g., artifacts/windows-x64-msix/, artifacts/linux-22.04-x64/, etc.). The final release step was pointing to the wrong paths, which would have caused the release to fail to find the files. I've updated all the paths to point to the correct locations.
With these changes, the workflow should now correctly: