This commit is contained in:
parent
53ae5f877d
commit
4a92b11da5
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -12,19 +12,19 @@ jobs:
|
||||
steps:
|
||||
- name: 检查存储库
|
||||
uses: actions/checkout@v4
|
||||
- name: 验证 gradle 封装器
|
||||
- name: 验证 Gradle
|
||||
uses: gradle/actions/wrapper-validation@v4
|
||||
- name: 设置 Jdk
|
||||
- name: 设置 JDK
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'microsoft'
|
||||
- name: 使 gradle 封装程序可执行
|
||||
- name: 使 Gradle 可执行
|
||||
run: chmod +x ./gradlew
|
||||
- name: 构建
|
||||
run: ./gradlew build
|
||||
- name: 捕获构建工件
|
||||
uses: actions/upload-artifact@v3
|
||||
- name: 上传构建释放
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
with:
|
||||
name: Artifacts
|
||||
path: build/libs/
|
Loading…
x
Reference in New Issue
Block a user