aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÄkwav <16632490+Ekwav@users.noreply.github.com>2021-11-05 17:53:25 +0100
committerGitHub <noreply@github.com>2021-11-05 17:53:25 +0100
commit161c01a2be916670c5bb4730760966f78e35afd0 (patch)
tree78db4091fc948bf837cb432df928f84ddba178c9
parentd8e1e008d930ed0bfa05e0c0f2280157b4fc1151 (diff)
parenta3061de02c857cb92fdad6134c301d6894abd256 (diff)
downloadCOFL-161c01a2be916670c5bb4730760966f78e35afd0.tar.gz
COFL-161c01a2be916670c5bb4730760966f78e35afd0.tar.bz2
COFL-161c01a2be916670c5bb4730760966f78e35afd0.zip
Merge pull request #28 from Coflnet/feature/github-actions
Feature/GitHub actions
-rw-r--r--.github/workflows/do-build.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/do-build.yml b/.github/workflows/do-build.yml
new file mode 100644
index 0000000..0619b20
--- /dev/null
+++ b/.github/workflows/do-build.yml
@@ -0,0 +1,21 @@
+name: Github Actions do build
+on: [push]
+jobs:
+ Run-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'
+ - name: Validate Gradle wrapper
+ uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
+ - name: Build with Gradle
+ run: bash ./gradlew build
+ - name: 'Upload Jar'
+ uses: actions/upload-artifact@v2
+ with:
+ name: CoflSky-CI
+ path: build/libs/CoflMod-1.0-all.jar \ No newline at end of file