added version checker and update notifier #32
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setting up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: oracle | |
java-version: 21 | |
- name: Grant permissions to Gradlew | |
run: sudo chmod +x ./gradlew | |
- name: Setup and build | |
run: ./gradlew shadowJar | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: NitroGenerator-fat | |
path: build/libs/NitroGenerator.jar |