ci: 优化构建脚本
This commit is contained in:
@@ -17,12 +17,11 @@ jobs:
|
|||||||
java-version: 21
|
java-version: 21
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
cache: gradle
|
cache: gradle
|
||||||
cache-dependency-path: gradle/wrapper/gradle-wrapper.properties
|
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
env:
|
env:
|
||||||
ORG_GRADLE_PROJECT_MAVEN_AIRGAME_USERNAME: ${{ secrets.MAVEN_AIRGAME_USERNAME }}
|
ORG_GRADLE_PROJECT_MAVEN_AIRGAME_USERNAME: ${{ secrets.MAVEN_AIRGAME_USERNAME }}
|
||||||
ORG_GRADLE_PROJECT_MAVEN_AIRGAME_PASSWORD: ${{ secrets.MAVEN_AIRGAME_PASSWORD }}
|
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
|
- name: Publish to Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user