Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit 02bbeea

Browse files
committed
switch to local CI
1 parent 505236a commit 02bbeea

File tree

4 files changed

+48
-2
lines changed

4 files changed

+48
-2
lines changed

.github/workflows/java_ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Java CI
2+
on: [push]
3+
jobs:
4+
build:
5+
name: Build
6+
runs-on: windows-2019
7+
steps:
8+
- name: 📦 Prepate Git Repo
9+
uses: actions/checkout@v2
10+
11+
- name: ☕ Install OpenJDK
12+
uses: AdoptOpenJDK/install-jdk@v1
13+
with:
14+
version: '11'
15+
architecture: x64
16+
17+
- name: 📦 Test with Maven
18+
run: mvn test -fae

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Compile release
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
name: Build
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: 📦 Prepate Git Repo
11+
uses: actions/checkout@v2
12+
13+
- name: ☕ Install OpenJDK
14+
uses: AdoptOpenJDK/install-jdk@v1
15+
with:
16+
version: '11'
17+
architecture: x64
18+
19+
- name: 📦 Build with Maven
20+
run: mvn -B package --file pom.xml
21+
22+
- name: 📦 Upload artifact
23+
uses: actions/upload-artifact@v2
24+
with:
25+
name: rexedia
26+
path: |
27+
target/*.jar
28+
target/*.md5
29+
target/*.sha1

.travis.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SimpleHttpServer
22
[![jitpack](https://jitpack.io/v/com.kttdevelopment/simplehttpserver.svg)](https://jitpack.io/#com.kttdevelopment/simplehttpserver)
33
[![jitci](https://jitci.com/gh/Ktt-Development/simplehttpserver/svg)](https://jitci.com/gh/Ktt-Development/simplehttpserver)
4-
[![Build Status](https://travis-ci.com/Ktt-Development/simplehttpserver.svg?branch=main)](https://travis-ci.com/Ktt-Development/simplehttpserver)
4+
![Java CI](https://github.com/Ktt-Development/simplehttpserver/workflows/Java%20CI/badge.svg)
55
[![version](https://img.shields.io/github/v/release/ktt-development/simplehttpserver?include_prereleases)](https://github.com/Ktt-Development/simplehttpserver/releases)
66
[![license](https://img.shields.io/github/license/Ktt-Development/simplehttpserver)](https://github.com/Ktt-Development/simplehttpserver/blob/main/LICENSE)
77

0 commit comments

Comments
 (0)