Merge pull request #40 from daksh7011/renovate/jetbrains-qodana-actio… #28
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: Build Develop & Generate artifacts | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build-develop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Gradle (Setup) | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Make sure gradlew is executable | |
run: "chmod +x ./gradlew" | |
- name: Gradle (Build) | |
run: "./gradlew build" | |
- name: Upload artifacts (Main JAR) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Main JAR | |
path: build/libs/*-all.jar | |
- name: Upload artifacts (JARs) | |
uses: actions/upload-artifact@v4 | |
with: | |
name: JARs | |
path: build/libs/*.jar |