ci: add apk package support

Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
sbwml 2025-06-17 05:45:36 +08:00
parent 359b814735
commit 3a2b08d04c

View File

@ -47,6 +47,7 @@ jobs:
- x86_64 - x86_64
sdk: sdk:
- openwrt-24.10 - openwrt-24.10
- SNAPSHOT
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -69,7 +70,9 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.arch }}-${{ matrix.sdk }} name: ${{ matrix.arch }}-${{ matrix.sdk }}
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk path: |
bin/packages/${{ matrix.arch }}/packages_ci/*.apk
bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
- name: Create compress files - name: Create compress files
run: | run: |
@ -82,5 +85,5 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true allowUpdates: true
replacesArtifacts: true replacesArtifacts: true
prerelease: true prerelease: false
artifacts: "${{ matrix.sdk }}-${{ matrix.arch }}.tar.gz" artifacts: "${{ matrix.sdk }}-${{ matrix.arch }}.tar.gz"