chore: 移除 gitea action
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
name: Auto Release On Tags
|
||||
|
||||
on:
|
||||
label:
|
||||
types: [ created ]
|
||||
|
||||
jobs:
|
||||
build-and-release:
|
||||
runs-on: linux
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# 使用 Gradle 清理并构建项目
|
||||
- name: Gradle clean build
|
||||
run: ./gradlew clean build
|
||||
|
||||
# 生成发布所需的 .jar 文件
|
||||
- name: Generate JAR file
|
||||
run: ./gradlew build
|
||||
|
||||
# 发布 .jar 文件到 GitHub Release
|
||||
- name: Release JAR file
|
||||
uses: softprops/action-gh-release@v4
|
||||
with:
|
||||
# 仓库名称
|
||||
repo: ${{ github.repository }}
|
||||
# 发布版本号
|
||||
tag_name: ${{ github.ref }}
|
||||
# 发布说明
|
||||
body: ${{ github.event.head_commit.message }}
|
||||
# 上传的文件
|
||||
files: build/libs/*.jar
|
Reference in New Issue
Block a user