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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@ -33,6 +43,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
chmod +x build.sh
|
chmod +x build.sh
|
||||||
./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
|
- name: Get version from tag
|
||||||
id: get_version
|
id: get_version
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user