Skip to content

[2.0.16] Fix Folia & Gradients #7

[2.0.16] Fix Folia & Gradients

[2.0.16] Fix Folia & Gradients #7

Workflow file for this run

name: TrChat build
on: [ push ]
jobs:
build:
if: contains(github.event.head_commit.message, '[actions skip]') == false
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: cache gradle packages
uses: actions/cache@v2
with:
key: ${{ runner.os }}-build-${{ env.cache-name }}
path: |
~/.gradle/caches
~/.gradle/wrapper
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 8.0
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 8.0
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: capture build artifacts
uses: actions/upload-artifact@v2
with:
name: TrChat Artifacts
path: plugin/build/libs/
# - name: automatic releases
# uses: marvinpinto/[email protected]
# with:
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
# automatic_release_tag: "latest"
# prerelease: false
# title: "TrChat 自动构建最新版本"
# files: |
# plugin/build/libs/*.*