JHP-91: Dashboards can use either a git branch or git tag. #6
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
name: Develop | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '8' | |
distribution: 'zulu' | |
java-package: jdk | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
gradle-version: 6.7 | |
- name: Build JAR with Gradle Wrapper | |
run: ./gradlew clean jar | |
- name: Upload JAR | |
uses: actions/upload-artifact@v4 | |
with: | |
name: plugin-jar | |
path: build/libs/*.jar | |
retention-days: 14 |