ci: 优化构建脚本

This commit is contained in:
2025-08-23 04:12:10 +08:00
parent b9be8e4b0b
commit 0b8614fec9

View File

@@ -17,12 +17,11 @@ jobs:
java-version: 21
distribution: temurin
cache: gradle
cache-dependency-path: gradle/wrapper/gradle-wrapper.properties
- name: Build Project
env:
ORG_GRADLE_PROJECT_MAVEN_AIRGAME_USERNAME: ${{ secrets.MAVEN_AIRGAME_USERNAME }}
ORG_GRADLE_PROJECT_MAVEN_AIRGAME_PASSWORD: ${{ secrets.MAVEN_AIRGAME_PASSWORD }}
run: chmod +x gradlew && ./gradlew build --console plain --no-daemon
run: chmod +x gradlew && ./gradlew build publish --console plain --no-daemon
- name: Publish to Release
uses: softprops/action-gh-release@v2
with: