Correct drone config to archive Launch4j artifact
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dmitry Isaenko 2022-12-23 07:22:24 +03:00
parent 55df39923f
commit 115625e3a3
2 changed files with 3 additions and 4 deletions

View file

@ -4,7 +4,7 @@ name: default
steps: steps:
- name: test - name: test
image: maven:3-jdk-11 image: maven:3-openjdk-18
commands: commands:
- mvn -B -DskipTests clean package - mvn -B -DskipTests clean package
- mvn test -B - mvn test -B
@ -17,7 +17,7 @@ steps:
commands: commands:
- mkdir -p /builds/ns-usbloader - mkdir -p /builds/ns-usbloader
- cp target/ns-usbloader-*jar /builds/ns-usbloader/ - cp target/ns-usbloader-*jar /builds/ns-usbloader/
- cp target/ns-usbloader-*exe /builds/ns-usbloader/ - cp target/NS-USBloader-*exe /builds/ns-usbloader/
volumes: volumes:
- name: builds - name: builds
path: /builds path: /builds
@ -28,7 +28,7 @@ steps:
- . ./.make_legacy - . ./.make_legacy
- mvn -B -DskipTests clean package - mvn -B -DskipTests clean package
- cp target/ns-usbloader-*jar /builds/ns-usbloader/ - cp target/ns-usbloader-*jar /builds/ns-usbloader/
- cp target/ns-usbloader-*exe /builds/ns-usbloader/ - cp target/NS-USBloader-*exe /builds/ns-usbloader/
volumes: volumes:
- name: m2 - name: m2
path: /root/.m2 path: /root/.m2

View file

@ -280,7 +280,6 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<!-- https://mvnrepository.com/artifact/com.akathist.maven.plugins.launch4j/launch4j-maven-plugin -->
<groupId>com.akathist.maven.plugins.launch4j</groupId> <groupId>com.akathist.maven.plugins.launch4j</groupId>
<version>2.2.0</version> <version>2.2.0</version>
<artifactId>launch4j-maven-plugin</artifactId> <artifactId>launch4j-maven-plugin</artifactId>