diff --git a/.github/workflows/nightly-build.yaml b/.github/workflows/nightly-build.yaml index d67ed58c..56870341 100644 --- a/.github/workflows/nightly-build.yaml +++ b/.github/workflows/nightly-build.yaml @@ -57,12 +57,18 @@ jobs: CONNECT_PUBLIC_KEY: ${{ secrets.E2E_CONNECT_PUBLIC_KEY }} CONNECT_PRIVATE_KEY: ${{ secrets.E2E_CONNECT_PRIVATE_KEY }} - - uses: AlexGidarakos/upload-encrypted-artifact@f682a88346288edaf376ab27f0f1a36573b962ea + - name: Encrypt report + shell: bash + working-directory: tests/e2e/playwright-report + run: | + zip -r -P ${{ secrets.E2E_PLAYWRIGHT_REPORT_PASSWORD }} ../playwright-report.zip * + + - name: Upload report + uses: actions/upload-artifact@v4 if: always() with: - remote-name: playwright-report-${{ matrix.project }} - source: tests/e2e/playwright-report/ - password: ${{ secrets.E2E_PLAYWRIGHT_REPORT_PASSWORD }} + name: playwright-report-${{ matrix.project }} + path: tests/e2e/playwright-report.zip retention-days: 3 build-nightly: diff --git a/.github/workflows/tests-e2e.yml b/.github/workflows/tests-e2e.yml index 2696b6d5..33763569 100644 --- a/.github/workflows/tests-e2e.yml +++ b/.github/workflows/tests-e2e.yml @@ -59,10 +59,16 @@ jobs: CONNECT_PUBLIC_KEY: ${{ secrets.E2E_CONNECT_PUBLIC_KEY }} CONNECT_PRIVATE_KEY: ${{ secrets.E2E_CONNECT_PRIVATE_KEY }} - - uses: AlexGidarakos/upload-encrypted-artifact@f682a88346288edaf376ab27f0f1a36573b962ea + - name: Encrypt report + shell: bash + working-directory: tests/e2e/playwright-report + run: | + zip -r -P ${{ secrets.E2E_PLAYWRIGHT_REPORT_PASSWORD }} ../playwright-report.zip * + + - name: Upload report + uses: actions/upload-artifact@v4 if: always() with: - remote-name: playwright-report-${{ matrix.project }} - source: tests/e2e/playwright-report/ - password: ${{ secrets.E2E_PLAYWRIGHT_REPORT_PASSWORD }} + name: playwright-report-${{ matrix.project }} + path: tests/e2e/playwright-report.zip retention-days: 3