Added README and fixed GitHub Actions for ipk/apk packages - #2
Open
1andrevich wants to merge 6 commits into
Open
Added README and fixed GitHub Actions for ipk/apk packages#21andrevich wants to merge 6 commits into
1andrevich wants to merge 6 commits into
Conversation
Change artifact naming and handling from ipk- to pkg- across the build workflow: update tar output filename, upload artifact name/path, and download-artifact patterns. Adjust extraction steps to find pkg-*.tar and to extract both .ipk and .apk files. Update release asset file list to include .apk in addition to .ipk. This generalizes packaging output and adds APK support for releases.
Add detailed usage instructions and argument descriptions for the ByeDPI-OpenWrt project.
Introduce .github/build-byedpi.sh to assemble OpenWrt IPK and Alpine APK packages from a prebuilt ciadpi binary (handles control scripts, conffiles, postinst/prerm, and optional APK signing). Overhaul .github/workflows/build.yml: stop building inside OpenWrt SDK matrix, fetch latest byedpi release binary per architecture group, install apk-tools/ipkg-build, build packages via the new script, and upload artifacts grouped by hufrea_arch. Also adjust workflow outputs (version/tag), simplify matrix to arch groups, and update the release step to create a single GitHub release containing the generated .ipk and .apk files.
Replace brittle tar extraction with a full untar and a more robust search for the ciadpi binary. The script now finds files named 'ciadpi*' anywhere in the archive, prints the archive contents and fails with an error if no binary is found, ensures the binary is made executable, and unconditionally moves it to ./ciadpi. This provides clearer diagnostics and handles varied archive layouts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.