Skip to content

Commit 457a8f3

Browse files
authored
Merge pull request #134 from CloudNetService/development
Update v3.1.0-RELEASE
2 parents c3a610f + c807d7d commit 457a8f3

File tree

881 files changed

+31412
-27171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

881 files changed

+31412
-27171
lines changed

.cn-repo/repository

Lines changed: 0 additions & 4 deletions
This file was deleted.

.cn-repo/versions/.placeholder

Whitespace-only changes.

.github/workflows/gradle.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Gradle Github Actions
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
matrix:
9+
java: ['11']
10+
os: [ubuntu-latest]
11+
runs-on: ${{ matrix.os }}
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
16+
- name: Set up JDK ${{ matrix.java }}
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: ${{ matrix.java }}
20+
architecture: x64
21+
22+
- name: Test with Gradle
23+
run: ./gradlew test
24+
25+
- name: Build with Gradle
26+
run: ./gradlew jar
27+
28+
- name: Release ZIP
29+
run: |
30+
echo 'Creating CloudNet.zip file...';
31+
mkdir -p temp/;
32+
cp -r .template/* temp/;
33+
mkdir temp/dev;
34+
mkdir temp/dev/examples;
35+
cp -r cloudnet-examples/src/main/java/de/dytanic/cloudnet/examples/* temp/dev/examples;
36+
mkdir temp/plugins;
37+
cp cloudnet-plugins/**/build/libs/*.jar temp/plugins/;
38+
cp cloudnet-launcher/build/libs/launcher.jar temp/launcher.jar;
39+
40+
- uses: actions/upload-artifact@master
41+
with:
42+
name: CloudNet-v3
43+
path: temp/

.gitlab-ci.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)