Skip to content

Remove use of commons-codec, which does not exist on servers #6

Remove use of commons-codec, which does not exist on servers

Remove use of commons-codec, which does not exist on servers #6

Workflow file for this run

name: Release
concurrency: ci-${{ github.ref }}
on:
workflow_dispatch:
push:
branches:
- 1.*
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: checkLicenses build
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') }}
- uses: gradle/gradle-build-action@v2
with:
arguments: publish closeAndReleaseSonatypeStagingRepository publishCurseforge modrinth
cache-read-only: ${{ !startsWith(github.ref, 'refs/heads/1.') }}
env:
SONATYPE_USER: ${{ secrets.CENTRAL_MAVEN_USER }}
SONATYPE_PASSWORD: ${{ secrets.CENTRAL_MAVEN_PASSWORD }}
SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_KEY }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_KEY }}