Skip to content

Building & publishing v1.3.2 #20

Building & publishing v1.3.2

Building & publishing v1.3.2 #20

Workflow file for this run

name: Publish
run-name: "Building & publishing ${{ github.ref_name }}"
on:
workflow_dispatch: { }
push:
branches:
- "!*"
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build with Gradle
run: |
version="$(echo '${{ github.ref_name }}' | sed 's/^v//')"
./gradlew "-Pversion=$version" serverPlugin
- uses: actions/upload-artifact@v3
with:
path: build/distributions/*.zip