From e2122f54945a4a6e3925b0472cad5b666aa9058d Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 4 Jul 2025 11:18:01 +0000 Subject: [PATCH] Upgrade actions/upload-artifact to v4 in CI and release workflows --- .github/workflows/ci.yml | 8 ++------ .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0316917..0332624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: run: ./gradlew test - name: Upload build artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: plugin-artifact path: build/distributions/*.zip @@ -42,12 +42,8 @@ jobs: - name: Verify plugin run: ./gradlew runPluginVerifier - - name: Generate test reports - run: ./gradlew jacocoTestReport - if: success() || failure() # Générer les rapports même en cas d'échec des tests - - name: Archive test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results path: build/reports/tests/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c305cd2..6d346e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: run: ./gradlew runPluginVerifier - name: Upload plugin artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: api-generator-plugin path: build/distributions/*.zip