From 982e8fc9c9566badb3acc236baf69fa15cc6c76b Mon Sep 17 00:00:00 2001 From: Jan Ullrich Date: Fri, 12 Jan 2024 17:29:29 +0000 Subject: [PATCH] chore(deps): update actions/upload-artifact action to v4 The v4 download-artifact action cannot download artifacts uploaded by the v3 version of the upload-artifact action. --- .github/workflows/build-java-service.yaml | 6 +++--- .github/workflows/lpt-locust.yaml | 2 +- .github/workflows/ui.yaml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-java-service.yaml b/.github/workflows/build-java-service.yaml index d356eb27..097e7977 100644 --- a/.github/workflows/build-java-service.yaml +++ b/.github/workflows/build-java-service.yaml @@ -42,17 +42,17 @@ jobs: arguments: build -Pversion=${{ inputs.version }} generateLicenseReport build-root-directory: services/${{ inputs.service_name }} - name: 📦 Upload JAR - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.service_name }}-jar path: ./services/${{ inputs.service_name }}/build/libs/${{ inputs.service_name }}-*.jar - name: 📦 Upload license report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.service_name }}-license path: ./services/${{ inputs.service_name }}/build/distributions/license-report.zip - name: 📦 Upload test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-results diff --git a/.github/workflows/lpt-locust.yaml b/.github/workflows/lpt-locust.yaml index 19b53d91..aa793f92 100644 --- a/.github/workflows/lpt-locust.yaml +++ b/.github/workflows/lpt-locust.yaml @@ -42,7 +42,7 @@ jobs: pip-licenses --with-license-file \ --format html --with-notice-file --no-license-path >licenses.html - name: 📦 Upload license report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: license-report path: ./test/lpt-locust/licenses.html diff --git a/.github/workflows/ui.yaml b/.github/workflows/ui.yaml index 47d17512..6218bb7a 100644 --- a/.github/workflows/ui.yaml +++ b/.github/workflows/ui.yaml @@ -40,7 +40,7 @@ jobs: working-directory: ./services/ui run: npm run test:ci - name: 📦 Upload test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-results @@ -54,7 +54,7 @@ jobs: working-directory: ./services/ui run: npm run build - name: 📦 Upload build - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ui-build path: ./services/ui/build @@ -64,7 +64,7 @@ jobs: npm run license-report >licenses.txt zip -r license-report.zip licenses licenses.txt - name: 📦 Upload license report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: license-report path: ./services/ui/license-report.zip