Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Release

Release #131

Workflow file for this run

name: Release
on: [workflow_dispatch]
permissions:
contents: write
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_NAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
ENVIRONMENT: publishing
jobs:
release:
runs-on: ubuntu-latest
container:
image: eclipse-temurin:17-jdk
options: --user root
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Clean caches
run: ./gradlew clean --stacktrace
- name: Upload releases
run: ./gradlew build github curseforge modrinth publish --stacktrace