Skip to content

Bump io.papermc.hangar-publish-plugin from 0.1.1 to 0.1.2 (#232) #386

Bump io.papermc.hangar-publish-plugin from 0.1.1 to 0.1.2 (#232)

Bump io.papermc.hangar-publish-plugin from 0.1.1 to 0.1.2 (#232) #386

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 17
distribution: adopt
- name: Cache Gradle dependencies
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.OS }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.OS }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew proguardJar
env:
jextVersion: ${{ github.sha }}
- uses: actions/upload-artifact@v4
with:
name: "JEXT-Reborn_${{ github.sha }}.jar"
path: ./build/libs/JEXT-Reborn_${{ github.sha }}.jar
publishDocs:
needs: build
if: ${{ false }}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 17
distribution: adopt
- name: Cache Gradle dependencies
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.OS }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.OS }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build docs with Gradle
run: ./gradlew dokkaHtml
env:
githubTag: ${{ github.ref }}