Compare commits

..

5 Commits

Author SHA1 Message Date
f33906b965 Merge pull request 'dev' (#6) from dev into main
Some checks failed
Gitea Android Builder / Build (push) Failing after 29s
Reviewed-on: #6
2025-02-27 19:45:38 +03:00
be208912b7
CI/CD revamp 2025-02-27 21:44:48 +05:00
2f7a94b5de Merge pull request 'main' (#5) from main into dev
Reviewed-on: #5
2025-02-27 18:37:43 +03:00
b42487feba revert 9f0d1de386999c738e00b1f1ff1b45d321e2e84b
revert Update README.md
2025-02-27 18:36:34 +03:00
9f0d1de386 Update README.md 2025-02-27 18:31:20 +03:00

View File

@ -1,22 +1,31 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions
name: Gitea Android Builder
run-name: ${{ gitea.actor }} is building an Android application
on:
push:
branches:
- main
jobs:
Explore-Gitea-Actions:
Build:
runs-on: ubuntu-22.04
steps:
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
- name: Greetings
run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." && echo "This job is now running on a ${{ runner.os }}" && echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: set up JDK 23
uses: actions/checkout@v4
- run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo "This job's status is ${{ job.status }}."
with:
java-version: '23'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
uses: gradle/gradle-build-action@v4
with:
arguments: assembleRelease
- name: Upload JAR Artifact
uses: actions/upload-artifact@v4
with:
name: android-app-apk
path: app/build/outputs/apk/release/*.apk
- name: Status
run: echo "This job's status is ${{ job.status }}."