mise a jour de la CI pour ajouter le jar en tant qu'artefact de sortie

This commit is contained in:
Thomas Rubini 2022-06-06 16:37:59 +02:00
parent eea1d628e8
commit b3c20eb661
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

@ -1,4 +1,4 @@
name: Java CI with Maven name: Java CI/CD with Maven
on: on:
- push - push
@ -15,7 +15,13 @@ jobs:
distribution: 'zulu' distribution: 'zulu'
java-package: 'jdk+fx' java-package: 'jdk+fx'
cache: maven cache: maven
- name: Run headless test - name: Build and run headless test
uses: GabrielBB/xvfb-action@v1 uses: GabrielBB/xvfb-action@v1
with: with:
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
- name: Upload resulting executable
uses: actions/upload-artifact@v2
with:
name: jar file
path: target/sae201-1.0-SNAPSHOT.jar