GitHub Actions workflow hardcoded .ipk extension, causing artifacts to fail for OpenWrt 25.12+ which uses .apk format. Updated all package handling to dynamically detect format based on OpenWrt version. **Changes:** 1. **Package Format Detection:** - Detect apk (25.12+/SNAPSHOT) vs ipk (24.10 and earlier) in each step - Set PKG_EXT variable based on OPENWRT_VERSION environment variable 2. **Download Dependencies Step:** - Removed broken env.PKG_EXT reference (set before variable exists) - Add local detection of package format - Download correct package index (APKINDEX.tar.gz vs Packages) 3. **Publish Artifacts Step:** - Detect format and copy *.apk or *.ipk files accordingly - Use dynamic PKG_EXT in archive creation - Update package counting to support both formats 4. **Upload Artifacts:** - Renamed from "secubox-all-ipk" to "secubox-all-packages" - Upload both *.ipk and *.apk patterns 5. **Release Step:** - Update package listing to find both .ipk and .apk files - Update sed pattern to handle both naming formats - Add separate installation instructions for apk vs opkg 6. **Build Summary:** - Count both .ipk and .apk files in summary - Fix stdout redirect for package list **Installation Instructions Updated:** - Added separate sections for apk (25.12+) and opkg (24.10) - Clear commands for each package manager **Tested Formats:** - ✅ OpenWrt 25.12.0-rc1: .apk files - ✅ OpenWrt 24.10.5: .ipk files - ✅ OpenWrt 23.05.5: .ipk files - ✅ SNAPSHOT: .apk files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| workflows | ||