29 lines
788 B
YAML
29 lines
788 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
Build-Gradle:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: gitea.hessj.de/administrator/gradle:0.0.31
|
|
steps:
|
|
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: test
|
|
run: /opt/gradle-8.13/bin/gradle --version
|
|
|
|
- name: List files in the repository
|
|
run: ls ${{ gitea.workspace }}
|
|
|
|
- name: List files in the repository
|
|
run: ls "${{ gitea.workspace }}/environmentex"
|
|
|
|
- name: Verify Gradle Installation
|
|
run: cd "${{ gitea.workspace }}/environmentex" && gradle wrapper && ./gradlew build --stacktrace --no-daemon
|
|
|
|
- name: show if jar is built
|
|
run: ls ${{ gitea.workspace }}
|