-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
337c699
commit 1908d40
Showing
4 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Build Addon | ||
on: [ push ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '8' | ||
distribution: 'adopt' | ||
# Add Execute permissions to gradle wrapper | ||
- name: Change wrapper permissions | ||
run: 'chmod +x gradlew' | ||
# Build the addon | ||
- name: Download LabyMod-API | ||
run: 'sh gradlew downloadAPI --no-daemon' | ||
# Build the addon | ||
- name: Build with Gradle | ||
run: 'sh gradlew build --no-daemon' | ||
# Upload the built addon | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: 'WorldEdit IDs for 1.16' | ||
path: ./build/libs/*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
systemProp.org.gradle.internal.http.connectionTimeout=120000 | ||
systemProp.org.gradle.internal.http.socketTimeout=120000 | ||
org.gradle.jvmargs=-Xmx4608m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
rootProject.name = 'addon-example' | ||
rootProject.name = 'buildteam-addon' | ||
|