ci: 优化工作流配置,提高构建安全性
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
cache: gradle
|
cache: gradle
|
||||||
cache-dependency-path: gradle/wrapper/gradle-wrapper.properties
|
cache-dependency-path: gradle/wrapper/gradle-wrapper.properties
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
run: chmod +x gradlew && ./gradlew build
|
run: chmod +x gradlew && ./gradlew build --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