Files
MCPlugins/.gitea/workflows/action.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 18: mapping key "name" already defined at line 1 line 19: mapping key "run-name" already defined at line 2 line 20: mapping key "on" already defined at line 3 line 22: mapping key "jobs" already defined at line 5

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 }}