Skip to content

Fix names on Fabric and NeoForge #9

Fix names on Fabric and NeoForge

Fix names on Fabric and NeoForge #9

Workflow file for this run

name: Java CI
on:
push:
tags: [ '\d+\.\d+\.\d+\-?\w*' ]
workflow_dispatch:
inputs:
norelease:
description: 'Do not publish'
required: true
default: 'false'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
if: |
!contains(github.event.head_commit.message, '[ciskip]')
steps:
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: Build with Gradle
env:
CREEPERHOST_MAVEN_TOKEN: ${{ secrets.CREEPERHOST_MAVEN_TOKEN}}
CURSE_API_KEY: ${{ secrets.CURSE_API_KEY }}
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name}}"
chmod +x ./gradlew
./gradlew build publish publishUnified --stacktrace --no-daemon