Update CI/CD to include plugin checks
diff --git a/.github/workflows/build.yml b/.github/workflows/django-build.yml
similarity index 99%
rename from .github/workflows/build.yml
rename to .github/workflows/django-build.yml
index 809f075..c2cb32c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/django-build.yml
@@ -44,4 +44,3 @@
- name: Run Tests
run: |
python manage.py test
-
\ No newline at end of file
diff --git a/.github/workflows/java-build.yml b/.github/workflows/java-build.yml
new file mode 100644
index 0000000..fc06e44
--- /dev/null
+++ b/.github/workflows/java-build.yml
@@ -0,0 +1,39 @@
+name: Java CI
+
+on:
+ push:
+ branches: [ develop ]
+ pull_request:
+ branches: [ develop ]
+
+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'
+
+ - name: Validate Gradle wrapper
+ uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
+
+# - name: Build with Gradle
+# run: |
+# chmod a+x gradlew
+# ./gradlew build
+#
+# - name: Generate Plugin
+# run: ./gradlew distZip
+#
+# - name: Cleanup Gradle Cache
+ # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
+ # Restoring these files from a GitHub Actions cache might cause problems for future builds.
+# run: |
+# rm -f ~/.gradle/caches/modules-2/modules-2.lock
+# rm -f ~/.gradle/caches/modules-2/gc.properties