aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMartin Robertz <dream-master@gmx.net>2021-12-01 13:49:34 +0100
committerGitHub <noreply@github.com>2021-12-01 13:49:34 +0100
commit5fc226f1385e13afbf3406f4d3283638fc7b8a70 (patch)
treeafdecc09b8a02549c30fa115f6b327457cefed21 /.github/workflows
parent8f29b031f80b722a1ab3cb8d646acb9bf5b7c259 (diff)
parent6d96ec6821204f203a0481f5e1416afbc695d5cf (diff)
downloadGT5-Unofficial-5fc226f1385e13afbf3406f4d3283638fc7b8a70.tar.gz
GT5-Unofficial-5fc226f1385e13afbf3406f4d3283638fc7b8a70.tar.bz2
GT5-Unofficial-5fc226f1385e13afbf3406f4d3283638fc7b8a70.zip
Merge pull request #766 from GTNewHorizons/patch-actions
Fix typo in file path
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/gradle.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
new file mode 100644
index 0000000000..e3b06da698
--- /dev/null
+++ b/.github/workflows/gradle.yml
@@ -0,0 +1,34 @@
+name: Build Project
+
+on:
+ push:
+ branches: [ experimental ]
+ pull_request:
+ branches: [ experimental ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ java-version: '11'
+ distribution: 'adopt'
+ cache: gradle
+ - name: Grant execute permission for gradlew
+ run: chmod +x gradlew
+ - name: Setup the workspace
+ run: ./gradlew setupCIWorkspace
+ - name: Build with Gradle
+ run: ./gradlew build
+
+ test-scala-presence:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Check
+ uses: mattsb42-meta/not-grep@1.0.0
+ with:
+ config-file: ./.github/test-scala-presence.toml