Skip to content
Permalink
Browse files
Update CI/CD to include plugin checks
  • Loading branch information
Nasser Kaze committed Sep 1, 2021
1 parent 238669a commit d4ffb68fa88514eaa52536ee8b0d253fa4d0407b
Showing 2 changed files with 39 additions and 1 deletion.
@@ -44,4 +44,3 @@ jobs:
- name: Run Tests
run: |
python manage.py test
@@ -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

0 comments on commit d4ffb68

Please sign in to comment.