diff --git a/.github/workflows/prerelease-alpha.yml b/.github/workflows/prerelease-alpha.yml index 03a799160a..55fe00939b 100644 --- a/.github/workflows/prerelease-alpha.yml +++ b/.github/workflows/prerelease-alpha.yml @@ -93,7 +93,7 @@ jobs: env: KUBERNETES_DO_SERVICE_CONFIG: ${{secrets.KUBERNETES_DO_SERVICE_CONFIG}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c482b0805d..7f70843d38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,7 +96,7 @@ jobs: TOLGEE_API_KEY: ${{secrets.TOLGEE_API_KEY}} working-directory: ./webapp - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: test diff --git a/.github/workflows/reportIntermittentTests.yml b/.github/workflows/reportIntermittentTests.yml index e5b5f891f7..a9b6701fd8 100644 --- a/.github/workflows/reportIntermittentTests.yml +++ b/.github/workflows/reportIntermittentTests.yml @@ -47,7 +47,7 @@ jobs: - name: Tar Deployment build run: tar -czf ~/backend-development.tgz ./backend/development/build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: backend @@ -97,7 +97,7 @@ jobs: key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} - name: Download backend build result - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: backend path: ~/ @@ -126,7 +126,7 @@ jobs: reportName=${{ matrix.command }} echo "reportName=${reportName//\:/_}" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: backend_test_reports_${{ steps.reportName.outputs.reportName }} @@ -178,7 +178,7 @@ jobs: key: cache-node-modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} - name: Download backend build result - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: backend path: ~/ @@ -187,13 +187,13 @@ jobs: run: tar -xzf ~/backend-app.tgz ./backend/app/build - name: Download frontend build result - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: webapp path: ./webapp/dist - name: Download dependencies - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: e2e_deps path: ~/ @@ -225,7 +225,7 @@ jobs: E2E_TOTAL_JOBS: ${{matrix.total_jobs}} E2E_JOB_INDEX: ${{matrix.job_index}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: e2e ${{ matrix.job_index }} @@ -270,7 +270,7 @@ jobs: TOLGEE_API_URL: ${{secrets.TOLGEE_API_URL}} - name: Upload built webapp - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: webapp path: webapp/build @@ -305,7 +305,7 @@ jobs: tar -czf ~/cypress_cache.tgz ./Cypress working-directory: /home/runner/.cache/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: e2e_deps diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9fcd84cb2f..ce01a4aa67 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,7 +48,7 @@ jobs: tar -czf ~/ee-backend-app.tgz ./ee/backend/app/build tar -czf ~/ee-backend-tests.tgz ./ee/backend/tests/build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: backend @@ -101,7 +101,7 @@ jobs: key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} - name: Download backend build result - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: backend path: ~/ @@ -141,7 +141,7 @@ jobs: reportName=${{ matrix.command }} echo "reportName=${reportName//\:/_}" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: backend_test_reports_${{ steps.reportName.outputs.reportName }} @@ -193,7 +193,7 @@ jobs: key: cache-node-modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} - name: Download backend build result - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: backend path: ~/ @@ -211,13 +211,13 @@ jobs: tar -xzf ~/ee-backend-tests.tgz ./ee/backend/tests/build - name: Download frontend build result - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: webapp path: ./webapp/dist - name: Download dependencies - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: e2e_deps path: ~/ @@ -252,7 +252,7 @@ jobs: E2E_JOB_INDEX: ${{matrix.job_index}} CI_RELEASE: ${{ github.event_name == 'push' && true || false }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: e2e @@ -261,7 +261,7 @@ jobs: ./e2e/cypress/screenshots/**/* ./e2e/server - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: e2e_server_log_${{ matrix.job_index }} @@ -305,7 +305,7 @@ jobs: TOLGEE_API_URL: ${{secrets.TOLGEE_API_URL}} - name: Upload built webapp - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: webapp path: webapp/dist @@ -419,7 +419,7 @@ jobs: tar -czf ~/cypress_cache.tgz ./Cypress working-directory: /home/runner/.cache/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: e2e_deps