Compare commits
9 Commits
1.0
...
d220a03a89
Author | SHA1 | Date | |
---|---|---|---|
d220a03a89 | |||
95b2c1e70b | |||
4005a39696
|
|||
407a5d32a5 | |||
81ab379e0e
|
|||
5a4d30b9f8
|
|||
5c92f74ceb
|
|||
0906b95273
|
|||
4c9c7a3aa4 |
@ -3,12 +3,11 @@ run-name: ${{ gitea.actor }} is building an Android application
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- pipeline-test
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v4
|
||||
|
40
.gitea/workflows/debug.yaml
Normal file
40
.gitea/workflows/debug.yaml
Normal file
@ -0,0 +1,40 @@
|
||||
name: Gitea Android Builder
|
||||
run-name: ${{ gitea.actor }} is building an Android application
|
||||
on:
|
||||
push:
|
||||
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 }}."
|
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,12 +1,7 @@
|
||||
*.iml
|
||||
.gradle
|
||||
/local.properties
|
||||
/.idea/caches
|
||||
/.idea/libraries
|
||||
/.idea/modules.xml
|
||||
/.idea/workspace.xml
|
||||
/.idea/navEditor.xml
|
||||
/.idea/assetWizardSettings.xml
|
||||
/.idea
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
|
Reference in New Issue
Block a user