mirror of
https://github.com/mihonapp/mihon-preview.git
synced 2025-11-15 16:17:44 +01:00
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -21,13 +21,13 @@ jobs:
|
|||||||
runs-on: 'ubuntu-24.04'
|
runs-on: 'ubuntu-24.04'
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repository (Latest)
|
- name: Clone Repository (Latest)
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
with:
|
with:
|
||||||
repository: 'mihonapp/mihon'
|
repository: 'mihonapp/mihon'
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
if: github.event.inputs.git-ref == ''
|
if: github.event.inputs.git-ref == ''
|
||||||
- name: Clone Repository (Custom Ref)
|
- name: Clone Repository (Custom Ref)
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
if: github.event.inputs.git-ref != ''
|
if: github.event.inputs.git-ref != ''
|
||||||
with:
|
with:
|
||||||
repository: 'mihonapp/mihon'
|
repository: 'mihonapp/mihon'
|
||||||
@@ -35,13 +35,13 @@ jobs:
|
|||||||
ref: ${{ github.event.inputs.git-ref }}
|
ref: ${{ github.event.inputs.git-ref }}
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
|
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
|
||||||
with:
|
with:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
|
|
||||||
- name: Set up gradle
|
- name: Set up gradle
|
||||||
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
|
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
|
||||||
|
|
||||||
- name: Build APK
|
- name: Build APK
|
||||||
run: ./gradlew assemblePreview -Pinclude-telemetry -Penable-updater
|
run: ./gradlew assemblePreview -Pinclude-telemetry -Penable-updater
|
||||||
|
|||||||
Reference in New Issue
Block a user