修复命令行模式下误调用GUI相关API报错的问题 #6
Workflow file for this run
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: release publish | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: zulu | |
- name: Build | |
uses: gradle/[email protected] | |
with: | |
arguments: shadowJar | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: build/libs/* |