diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41814fa..f6dc853 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/ \ No newline at end of file