Skip to content

2.0 release! Now on CleanroomMC's maven #1

2.0 release! Now on CleanroomMC's maven

2.0 release! Now on CleanroomMC's maven #1

Workflow file for this run

name: Publish
on:
push:
tags:
- '[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Grant Execute Permission for gradlew
run: chmod +x gradlew
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'zulu'
cache: gradle
- name: Publish to Maven
uses: gradle/gradle-build-action@v2
with:
arguments: |
publish
-PCleanroomMaven=${{ vars.CLEANROOM_MAVEN }}
-PCleanroomMavenUsername=${{ secrets.MAVEN_NAME }}
-PCleanroomMavenPassword=${{ secrets.MAVEN_PASSWORD }}
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
path: build/libs/