[A.0.0.1.10] 更新元素命令,转移Kether目录,修复注册表问题,reload时重载语言 #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Plugin Build | |
on: [ push ] | |
jobs: | |
build: | |
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 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: adopt | |
java-version: 17 | |
- 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: Artifacts | |
path: outs/ | |
- name: Automatic Releases | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: false | |
title: "FDUtilities 自动构建最新版本" | |
files: | | |
outs/*.* |