bump 2.1.7 #28
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: ReleaseJar | |
on: | |
push: | |
tags: | |
- "*" | |
permissions: | |
contents: read | |
jobs: | |
building: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Tag | |
uses: actions/checkout@v3 | |
- name: Set up JDK (21) | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'microsoft' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Release on CurseForge | |
run: ./gradlew curseforge | |
env: | |
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} | |
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} | |
- name: Release on Modrinth | |
run: ./gradlew modrinth | |
env: | |
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} | |
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} |