This commit is contained in:
NkBe 2025-09-21 10:15:58 +00:00 committed by GitHub
commit 45a4bd0e27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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'