Update Supporters.txt #216
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 and Maven | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
cache: 'gradle' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build with Gradle | |
run: ./gradlew build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Artifact | |
path: ./build/libs/*.jar | |
- name: Publish the Mod | |
if: contains(github.event.head_commit.message, '[push]') || contains(github.event.head_commit.message, '[build]') | |
env: | |
SAP_SECRET: ${{ secrets.SAP_SECRET }} | |
run: ./gradlew publish |