Skip to content

ClientStorage 2.2.3

ClientStorage 2.2.3 #8

Workflow file for this run

# Taken from Leuokcyte (https://github.com/NucleoidMC/leukocyte/blob/main/.github/workflows/release.yml)
name: Release
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v2
with:
path: |
~/.gradle/loom-cache
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build and publish with Gradle
run: ./gradlew build --stacktrace
- name: Upload GitHub release
uses: AButler/[email protected]
with:
files: 'bukkit/build/libs/*.jar;!bukkit/build/libs/*-sources.jar;fabric-client/build/libs/*.jar;!fabric-client/build/libs/*-sources.jar;fabric-server/build/libs/*.jar;!fabric-server/build/libs/*-sources.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }}