Squashed commit of the following: #15
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 Negativity for sponge 7 | |
# For each push on all branchs | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew :sponge7:shadowJar --configure-on-demand | |
- name: Upload Artifact to GitHub Action | |
uses: actions/upload-artifact@v4 | |
with: | |
path: sponge7/build/libs/*.jar | |
name: Negativity-Sponge7 |