fix(ci): исправить права gradlew (+x) и обновить workflows
This commit is contained in:
parent
0e7f03dba1
commit
b811c3d84b
3 changed files with 5 additions and 4 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -20,27 +20,29 @@ jobs:
|
|||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
|
||||
- name: Build & Test
|
||||
run: ./gradlew build --no-daemon
|
||||
run: chmod +x gradlew && ./gradlew build --no-daemon
|
||||
|
||||
- name: JaCoCo Report
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: jacoco-report
|
||||
path: build/reports/jacoco/test/html/
|
||||
|
||||
- name: Test Results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-results
|
||||
path: build/test-results/
|
||||
|
||||
- name: Plugin JAR
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: LoChat-Plugin
|
||||
|
|
|
|||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -19,13 +19,12 @@ jobs:
|
|||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
|
||||
- name: Build
|
||||
run: ./gradlew clean build --no-daemon
|
||||
run: chmod +x gradlew && ./gradlew clean build --no-daemon
|
||||
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue