mise a jour de la CI pour ajouter le jar en tant qu'artefact de sortie
This commit is contained in:
parent
eea1d628e8
commit
b3c20eb661
10
.github/workflows/maven.yml
vendored
10
.github/workflows/maven.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user