17 lines
586 B
YAML
17 lines
586 B
YAML
name: Gitea Actions
|
|
run-name: ${{ gitea.actor }}
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: http://172.23.112.123:3000/actions/checkout@main
|
|
- name: List files in the repository
|
|
run: |
|
|
ls ${{ gitea.workspace }}
|
|
- name: Build with Maven using Docker
|
|
run: |
|
|
docker run --rm -v "$(pwd)":/usr/src/app -v /data/app/maven-repo:/root/.m2/repository -w /usr/src/app maven:3.9.9-eclipse-temurin-17 mvn clean install -Dmaven.test.skip=true |