Merge pull request #9 from IUTInfoAix-R202-2022/ci

mise a jour de la CI pour ajouter le jar en tant qu'artefact de sortie
This commit is contained in:
Thomas R 2022-06-07 08:38:24 +02:00 committed by GitHub
commit b6e9e9eb07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: Java CI with Maven
name: Java CI/CD with Maven
on:
- push
@ -15,7 +15,13 @@ jobs:
distribution: 'zulu'
java-package: 'jdk+fx'
cache: maven
- name: Run headless test
- name: Build and run headless test
uses: GabrielBB/xvfb-action@v1
with:
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