ci: 优化构建脚本
This commit is contained in:
@@ -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 publish --no-daemon
|
||||
run: chmod +x gradlew && ./gradlew build publish --console plain --no-daemon
|
||||
- name: Publish to Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
Reference in New Issue
Block a user