feat: port to 1.20.4 #7
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone project | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: "temurin" | |
java-version: 21 | |
- name: Fix borked permissions | |
run: chmod +x ./gradlew | |
- name: Run gradle tasks | |
uses: gradle/gradle-build-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CURSE_TOKEN: ${{ secrets.CURSE_TOKEN }} | |
with: | |
arguments: build publish publishMods |