Support multiple @ arg files and launching a script with -jar
#20
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
# File generated by the GradleUtils `setupGitHubActionsWorkflows` task, avoid modifying it directly | |
# The template can be found at https://github.com/neoforged/GradleUtils/blob/72be0f55ce3f6e91f89cfd7847143b9ef1dcc3e9/src/actionsTemplate/resources/.github/workflows/release.yml | |
name: Release | |
on: | |
push: | |
branches: [ "main" ] | |
permissions: | |
contents: write | |
statuses: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1000 | |
fetch-tags: true | |
- name: Validate wrapper | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
cache-read-only: false | |
- name: Setup with Gradle | |
run: ./gradlew build publishMods | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |