Skip to content

SQLib 2.1.6

SQLib 2.1.6 #28

Workflow file for this run

name: Release New Version
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Set Version
uses: jossef/[email protected]
with:
file: src/main/resources/fabric.mod.json
field: version
value: ${{ github.ref_name }}
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew build
- name: Rename File
run: mv ${{ github.workspace }}/build/libs/sqlib-all.jar ${{ github.workspace }}/sqlib-${{ github.ref_name }}.jar
- name: Publish Release
uses: Kir-Antipov/[email protected]
with:
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
files: ${{ github.workspace }}/sqlib-${{ github.ref_name }}.jar
java: 17