mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 16:57:08 +00:00
ci: add apk builds
This commit is contained in:
parent
03445d2b39
commit
904292e511
23
.github/workflows/release.yml
vendored
23
.github/workflows/release.yml
vendored
@ -11,6 +11,16 @@ permissions:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
arch:
|
||||
- x86_64
|
||||
- aarch64_generic
|
||||
- arm_cortex-a7_neon-vfpv4
|
||||
- arm_cortex-a15_neon-vfpv4
|
||||
- mips_24kc
|
||||
- mipsel_24kc
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@ -34,6 +44,19 @@ jobs:
|
||||
chmod +x build.sh
|
||||
./build.sh
|
||||
|
||||
- name: Build APK
|
||||
uses: openwrt/gh-action-sdk@v9
|
||||
env:
|
||||
ARCH: ${{ matrix.arch }}
|
||||
FEEDNAME: ua3f_ci
|
||||
PACKAGES: openwrt
|
||||
V: sc
|
||||
|
||||
- name: move apks to dist folder
|
||||
run: |
|
||||
mkdir -p dist
|
||||
cp bin/packages/${{ matrix.arch }}/ua3f_ci/*.apk dist/
|
||||
|
||||
- name: Get version from tag
|
||||
id: get_version
|
||||
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user