CI: build vpnhide-ports.zip

Adds a portshide job mirroring the simple kmod zip packaging (no build
needed, just zip the module directory). Artifact lands next to the
other release zips so the gh-release step picks it up for tagged
builds.
This commit is contained in:
okhsunrog 2026-04-15 16:41:38 +03:00
parent d8ffc24712
commit 7faeb5ce9a

View file

@ -174,8 +174,27 @@ jobs:
path: vpnhide.apk
if-no-files-found: error
portshide:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Package ports module zip
run: |
sudo apt-get update -qq && sudo apt-get install -y -qq zip >/dev/null
cd portshide
./build-zip.sh
mv vpnhide-ports.zip "$GITHUB_WORKSPACE/vpnhide-ports.zip"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: vpnhide-ports
path: vpnhide-ports.zip
if-no-files-found: error
release:
needs: [kmod, zygisk, lsposed]
needs: [kmod, zygisk, lsposed, portshide]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps: