Move to woodpecker ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Dmitry Isaenko 2024-11-20 23:48:34 +03:00
parent a55a9cfc07
commit e2fa531301
3 changed files with 7 additions and 21 deletions

View file

@ -1,7 +1,3 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: maven:3-jdk-11
@ -9,8 +5,7 @@ steps:
- mvn -B -DskipTests clean install
- mvn test -B
volumes:
- name: m2
path: /root/.m2
- /home/docker/woodpecker/files/m2:/root/.m2
- name: archive-artifact
image: alpine:latest
@ -18,13 +13,4 @@ steps:
- mkdir -p /builds/ESRPatchJava
- cp target/ESRPatchJava-*[0-9].jar /builds/ESRPatchJava/
volumes:
- name: builds
path: /builds
volumes:
- name: m2
host:
path: /home/docker/drone/files/m2
- name: builds
host:
path: /home/www/builds
- /home/www/builds:/builds

View file

@ -1,6 +1,6 @@
### 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)

View file

@ -78,12 +78,12 @@ public class Main extends JFrame implements ActionListener {
}
public void actionPerformed(ActionEvent event){
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileFilter(new ISOFileFilter());
if (event.getSource() == btnQuit)
System.exit(0);
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileFilter(new ISOFileFilter());
if (fileChooser.showOpenDialog(this) != JFileChooser.APPROVE_OPTION)
return;