Skip to content

Refactor the execute method from the LuaClosure to be easier to read. #8

Refactor the execute method from the LuaClosure to be easier to read.

Refactor the execute method from the LuaClosure to be easier to read. #8

name: Publish snapshot
on:
push:
branches:
- master
- main
jobs:
publish-release:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Cache gradle
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'zulu'
- name: Publish snapshot artifact
run: ./gradlew publishAllPublicationsToSonatypeSnapshotsRepository -Pversion="LATEST-SNAPSHOT" -Psigning.base64.secretKey="${{secrets.SIGNING_BASE_64_SECRET_KEY}}" -Psigning.password="${{secrets.SIGNING_PASSWORD}}" -Psonatype.username="${{secrets.SONATYPE_USERNAME}}" -Psonatype.password="${{secrets.SONATYPE_PASSWORD}}"