Skip to content

Commit aa7fcf8

Browse files
author
TechsCode
committed
Adding Files
0 parents  commit aa7fcf8

22 files changed

Lines changed: 1046 additions & 0 deletions

.github/workflows/build.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
path: build/libs/ReleaseServer.jar
11+
name: ReleaseServer.jar
12+
build: build-${{ github.run_number }}
13+
14+
jobs:
15+
build:
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- name: Set up JDK 1.8
23+
uses: actions/setup-java@v1
24+
with:
25+
java-version: 1.8
26+
27+
- name: Grant execute permission for gradlew
28+
run: chmod +x gradlew
29+
30+
- name: Build with Gradle
31+
run: ./gradlew build
32+
33+
- name: Create Release
34+
id: create_release
35+
uses: actions/create-release@v1
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
with:
39+
tag_name: ${{ env.build }}
40+
release_name: Release ${{ env.build }}
41+
42+
- name: Upload Release Asset
43+
id: upload-release-asset
44+
uses: actions/upload-release-asset@v1
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
with:
48+
upload_url: ${{ steps.create_release.outputs.upload_url }}
49+
asset_path: ${{ env.path }}
50+
asset_name: ${{ env.name }}
51+
asset_content_type: application/java-archive

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.DS_Store
2+
*.iml
3+
.idea/
4+
.gradle/
5+
out/
6+
build/

build.gradle

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
plugins {
2+
id 'org.springframework.boot' version '2.2.0.RELEASE'
3+
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
4+
id 'java'
5+
id 'application'
6+
}
7+
8+
group 'me.TechsCode'
9+
10+
sourceCompatibility = 1.8
11+
mainClassName = "me.TechsCode.ReleaseServer.ReleaseServer"
12+
13+
repositories {
14+
mavenCentral()
15+
}
16+
17+
dependencies {
18+
implementation 'org.springframework.boot:spring-boot-starter-web'
19+
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
20+
compile group: 'commons-io', name: 'commons-io', version: '2.7'
21+
compile 'com.jcraft:jsch:0.1.55'
22+
}
23+
24+
jar {
25+
version = null
26+
}

gradle/wrapper/gradle-wrapper.jar

57.3 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 183 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 100 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rootProject.name = 'ReleaseServer'
2+

0 commit comments

Comments
 (0)