Skip to content

force blocks to be solid (fixes #6) #16

force blocks to be solid (fixes #6)

force blocks to be solid (fixes #6) #16

Workflow file for this run

name: Upload Release Artifacts
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: 17
- name: Get current time
uses: srfrnk/current-time@master
id: current-time
with:
format: YYYYMMDDHHmmss
- name: Setup ENV
run: echo "TAG=${{github.ref_name}}" >> $GITHUB_ENV
- name: Copy Maven Upload URL
id: extract_maven_upload_url
run: echo "maven_upload_url=${{secrets.MAVEN_UPLOAD_URL}}" >> $GITHUB_OUTPUT
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
env:
BUILD_TIME: ${{ steps.current-time.outputs.formattedTime }}
BUILD_NUMBER: ${{ github.run_number }}
run: ./gradlew assemble
- name: Maven Release
if: steps.extract_maven_upload_url.outputs.maven_upload_url
env:
BUILD_TIME: ${{ steps.current-time.outputs.formattedTime }}
BUILD_NUMBER: ${{ github.run_number }}
MAVEN_UPLOAD_URL: ${{ secrets.MAVEN_UPLOAD_URL }}
MAVEN_UPLOAD_USERNAME: ${{ secrets.MAVEN_UPLOAD_USERNAME }}
MAVEN_UPLOAD_PASSWORD: ${{ secrets.MAVEN_UPLOAD_PASSWORD }}
run: ./gradlew publish --no-daemon --max-workers 1
- name: Publish
uses: Kir-Antipov/[email protected]
with:
modrinth-id: Hhaag1wJ
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 320778
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
github-token: ${{ github.token }}
game-versions: |
1.20
1.20.1
loaders: |
fabric
quilt