Compare commits
No commits in common. "407a5d32a58bf55db3aa8fa2b1578d453f68dab5" and "07ad6cb59d059a957a723b832dc8d5179bc16deb" have entirely different histories.
407a5d32a5
...
07ad6cb59d
@ -3,11 +3,12 @@ run-name: ${{ gitea.actor }} is building an Android application
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
- main
|
||||||
- pipeline-test
|
- pipeline-test
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repo
|
- name: Checkout the repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
name: Gitea Android Builder
|
|
||||||
run-name: ${{ gitea.actor }} is building an Android application
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
tags:
|
|
||||||
- "*"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Build:
|
|
||||||
runs-on: ubuntu-24.04
|
|
||||||
steps:
|
|
||||||
- name: Checkout the repo
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Set up JDK 23
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
java-version: '23'
|
|
||||||
distribution: 'temurin'
|
|
||||||
- name: Set up Android SDK
|
|
||||||
uses: android-actions/setup-android@v3
|
|
||||||
- name: Grant execute permission for gradlew
|
|
||||||
run: chmod +x gradlew
|
|
||||||
- name: Cache Gradle packages
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.gradle/caches
|
|
||||||
~/.gradle/wrapper
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
|
||||||
- name: Build with Gradle
|
|
||||||
uses: gradle/gradle-build-action@v2
|
|
||||||
with:
|
|
||||||
arguments: assembleDebug
|
|
||||||
- name: Upload .apk Artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: android-app-apk
|
|
||||||
path: app/build/outputs/apk/debug/*.apk
|
|
||||||
- name: Status
|
|
||||||
run: echo "This job's status is ${{ job.status }}."
|
|
Loading…
x
Reference in New Issue
Block a user