diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index a6df3a1..691f75b 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -2,6 +2,7 @@ name: Preview Build on: workflow_dispatch: inputs: + jobs: libcore: name: Native Build (LibCore) @@ -28,6 +29,7 @@ jobs: - name: Native Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib core + build: name: Build OSS APK runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7aecc1c..f1cf4cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,5 @@ name: Release Build + on: workflow_dispatch: inputs: @@ -11,6 +12,7 @@ on: play: description: "Play: If want ignore" required: false + jobs: libcore: name: Native Build (LibCore) @@ -37,6 +39,7 @@ jobs: - name: Native Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib core + build: name: Build OSS APK runs-on: ubuntu-latest @@ -76,6 +79,7 @@ jobs: with: name: APKs path: ${{ env.APK }} + publish: name: Publish Release if: github.event.inputs.publish != 'y' @@ -84,7 +88,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Donwload Artifacts + - name: Download Artifacts uses: actions/download-artifact@v4 with: name: APKs @@ -97,6 +101,7 @@ jobs: mkdir apks find artifacts -name "*.apk" -exec cp {} apks \; ./ghr -delete -t "${{ github.token }}" -n "${{ github.event.inputs.tag }}" "${{ github.event.inputs.tag }}" apks + play: name: Build Play Bundle if: github.event.inputs.play != 'y'