33 lines
1010 B
YAML
33 lines
1010 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: Verify Gradle Installation
|
|
run: cd "${{ gitea.workspace }}/helper" && /opt/gradle-8.13/bin/gradle wrapper && /opt/gradle-8.13/bin/gradle build --stacktrace --no-daemon
|
|
|
|
|
|
name: Gitea Actions Demo2
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions2 🚀
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
Build-Gradle:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: gitea.hessj.de/administrator/gradle:0.0.31
|
|
steps:
|
|
|
|
- name: Verify Gradle Installation
|
|
run: cd "${{ gitea.workspace }}/environmentex" && /opt/gradle-8.13/bin/gradle wrapper && /opt/gradle-8.13/bin/gradle build --stacktrace --no-daemon
|
|
|
|
- name: show if jar is built
|
|
run: ls ${{ gitea.workspace }} |