Move to woodpecker ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a55a9cfc07
commit
e2fa531301
3 changed files with 7 additions and 21 deletions
|
@ -1,7 +1,3 @@
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: maven:3-jdk-11
|
image: maven:3-jdk-11
|
||||||
|
@ -9,8 +5,7 @@ steps:
|
||||||
- mvn -B -DskipTests clean install
|
- mvn -B -DskipTests clean install
|
||||||
- mvn test -B
|
- mvn test -B
|
||||||
volumes:
|
volumes:
|
||||||
- name: m2
|
- /home/docker/woodpecker/files/m2:/root/.m2
|
||||||
path: /root/.m2
|
|
||||||
|
|
||||||
- name: archive-artifact
|
- name: archive-artifact
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
@ -18,13 +13,4 @@ steps:
|
||||||
- mkdir -p /builds/ESRPatchJava
|
- mkdir -p /builds/ESRPatchJava
|
||||||
- cp target/ESRPatchJava-*[0-9].jar /builds/ESRPatchJava/
|
- cp target/ESRPatchJava-*[0-9].jar /builds/ESRPatchJava/
|
||||||
volumes:
|
volumes:
|
||||||
- name: builds
|
- /home/www/builds:/builds
|
||||||
path: /builds
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: m2
|
|
||||||
host:
|
|
||||||
path: /home/docker/drone/files/m2
|
|
||||||
- name: builds
|
|
||||||
host:
|
|
||||||
path: /home/www/builds
|
|
|
@ -1,6 +1,6 @@
|
||||||
### ESRPatchJava
|
### ESRPatchJava
|
||||||
|
|
||||||
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) ![LatestVer](https://img.shields.io/github/release/developersu/ESRPatchJava.svg) [![Build Status](https://ci.redrise.ru/api/badges/desu/ESRPatchJava/status.svg)](https://ci.redrise.ru/desu/ESRPatchJava)
|
![License](https://img.shields.io/badge/License-GPLv3-blue.svg) ![LatestVer](https://img.shields.io/github/release/developersu/ESRPatchJava.svg) [![status-badge](https://ci.redrise.ru/api/badges/3/status.svg)](https://ci.redrise.ru/repos/3)
|
||||||
|
|
||||||
![Application screenshot](screenshots/1.png)
|
![Application screenshot](screenshots/1.png)
|
||||||
|
|
||||||
|
|
|
@ -78,12 +78,12 @@ public class Main extends JFrame implements ActionListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void actionPerformed(ActionEvent event){
|
public void actionPerformed(ActionEvent event){
|
||||||
JFileChooser fileChooser = new JFileChooser();
|
|
||||||
fileChooser.setFileFilter(new ISOFileFilter());
|
|
||||||
|
|
||||||
if (event.getSource() == btnQuit)
|
if (event.getSource() == btnQuit)
|
||||||
System.exit(0);
|
System.exit(0);
|
||||||
|
|
||||||
|
JFileChooser fileChooser = new JFileChooser();
|
||||||
|
fileChooser.setFileFilter(new ISOFileFilter());
|
||||||
|
|
||||||
if (fileChooser.showOpenDialog(this) != JFileChooser.APPROVE_OPTION)
|
if (fileChooser.showOpenDialog(this) != JFileChooser.APPROVE_OPTION)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue