mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-19 22:50:05 +08:00
Merge 0b588d4fe3 into 55d475e7c6
This commit is contained in:
commit
45a4bd0e27
2
.github/workflows/preview.yml
vendored
2
.github/workflows/preview.yml
vendored
@ -2,6 +2,7 @@ name: Preview Build
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
libcore:
|
libcore:
|
||||||
name: Native Build (LibCore)
|
name: Native Build (LibCore)
|
||||||
@ -28,6 +29,7 @@ jobs:
|
|||||||
- name: Native Build
|
- name: Native Build
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: ./run lib core
|
run: ./run lib core
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build OSS APK
|
name: Build OSS APK
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -1,4 +1,5 @@
|
|||||||
name: Release Build
|
name: Release Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
@ -11,6 +12,7 @@ on:
|
|||||||
play:
|
play:
|
||||||
description: "Play: If want ignore"
|
description: "Play: If want ignore"
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
libcore:
|
libcore:
|
||||||
name: Native Build (LibCore)
|
name: Native Build (LibCore)
|
||||||
@ -37,6 +39,7 @@ jobs:
|
|||||||
- name: Native Build
|
- name: Native Build
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
run: ./run lib core
|
run: ./run lib core
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build OSS APK
|
name: Build OSS APK
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -76,6 +79,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: APKs
|
name: APKs
|
||||||
path: ${{ env.APK }}
|
path: ${{ env.APK }}
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
name: Publish Release
|
name: Publish Release
|
||||||
if: github.event.inputs.publish != 'y'
|
if: github.event.inputs.publish != 'y'
|
||||||
@ -84,7 +88,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Donwload Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: APKs
|
name: APKs
|
||||||
@ -97,6 +101,7 @@ jobs:
|
|||||||
mkdir apks
|
mkdir apks
|
||||||
find artifacts -name "*.apk" -exec cp {} apks \;
|
find artifacts -name "*.apk" -exec cp {} apks \;
|
||||||
./ghr -delete -t "${{ github.token }}" -n "${{ github.event.inputs.tag }}" "${{ github.event.inputs.tag }}" apks
|
./ghr -delete -t "${{ github.token }}" -n "${{ github.event.inputs.tag }}" "${{ github.event.inputs.tag }}" apks
|
||||||
|
|
||||||
play:
|
play:
|
||||||
name: Build Play Bundle
|
name: Build Play Bundle
|
||||||
if: github.event.inputs.play != 'y'
|
if: github.event.inputs.play != 'y'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user