Update .gitea/workflows/demo.yaml
This commit is contained in:
parent
3f27f97052
commit
d26d455979
@ -1,5 +1,5 @@
|
|||||||
name: Gitea Actions Demo
|
name: Gitea Actions
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }}
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -12,12 +12,11 @@ jobs:
|
|||||||
- name: List files in the repository
|
- name: List files in the repository
|
||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
ls ${{ gitea.workspace }}
|
||||||
- name: Set up Java version
|
- name: Build with Maven using Docker
|
||||||
uses: http://172.23.112.123:3000/actions/setup-java@main
|
run: |
|
||||||
with:
|
docker run --rm \
|
||||||
java-version: '17'
|
-v "$(pwd)":/usr/src/app \
|
||||||
distribution: 'temurin'
|
-v /data/app/maven-repo:/root/.m2/repository
|
||||||
cache: 'maven'
|
-w /usr/src/app \
|
||||||
|
maven:3.9.9-eclipse-temurin-17 \
|
||||||
- name: Build with Maven
|
mvn clean install -Dmaven.test.skip=true
|
||||||
run: mvn clean install
|
|
Loading…
x
Reference in New Issue
Block a user