Skip to content

fix: windows free

fix: windows free #2

Workflow file for this run

name: Build & Publish to Maven Central
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
build-core:
runs-on: ubuntu-latest
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSWORD }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21 (for JNI)
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build & Publish
env:
TAG_VERSION: ${{ github.ref_name }}
run: ./gradlew :publishLuauPublicationToSonatype :closeAndReleaseSonatypeStagingRepository
- name: artifact
uses: actions/upload-artifact@v4
with:
name: luau-${{ github.ref_name }}.jar
path: native/build/libs/luau-${{ github.ref_name }}.jar