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:
|
with:
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: gradle
|
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v4
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
|
||||||
- name: Build & Test
|
- name: Build & Test
|
||||||
run: ./gradlew build --no-daemon
|
run: chmod +x gradlew && ./gradlew build --no-daemon
|
||||||
|
|
||||||
- name: JaCoCo Report
|
- name: JaCoCo Report
|
||||||
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: jacoco-report
|
name: jacoco-report
|
||||||
path: build/reports/jacoco/test/html/
|
path: build/reports/jacoco/test/html/
|
||||||
|
|
||||||
- name: Test Results
|
- name: Test Results
|
||||||
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-results
|
name: test-results
|
||||||
path: build/test-results/
|
path: build/test-results/
|
||||||
|
|
||||||
- name: Plugin JAR
|
- name: Plugin JAR
|
||||||
|
if: success()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: LoChat-Plugin
|
name: LoChat-Plugin
|
||||||
|
|
|
||||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -19,13 +19,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: gradle
|
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v4
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew clean build --no-daemon
|
run: chmod +x gradlew && ./gradlew clean build --no-daemon
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
|
|
||||||
0
gradlew
vendored
Normal file → Executable file
0
gradlew
vendored
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue