diff --git a/.github/workflows/js-tests.yml b/.github/workflows/js-tests.yml index 4f720f3fb94..2268372c4ab 100644 --- a/.github/workflows/js-tests.yml +++ b/.github/workflows/js-tests.yml @@ -69,12 +69,12 @@ jobs: - name: Run frontend tests run: make frontend-tests - name: Upload coverage json-summary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: vitest_coverage_json path: frontend/coverage/coverage-summary.json - name: Upload coverage HTML report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: vitest_coverage_html path: frontend/coverage diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 22577c6eec1..e1a80e684da 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -175,7 +175,7 @@ jobs: sudo apt install rsync make package - name: Store Whl File - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: whl_file path: lib/dist/*.whl diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index b97455365ea..a38c0e0b8a7 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -71,13 +71,13 @@ jobs: - name: Set MY_DATE_TIME env var run: echo "MY_DATE_TIME=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV - name: Upload failed test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: always() with: name: playwright_test_results_${{ steps.short_sha.outputs.sha_short }} path: e2e_playwright/test-results - name: Upload Performance results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: always() with: name: performance_results_${{ env.MY_DATE_TIME }} diff --git a/.github/workflows/playwright-changed-files.yml b/.github/workflows/playwright-changed-files.yml index 4f61c2f2b00..b490d1cb526 100644 --- a/.github/workflows/playwright-changed-files.yml +++ b/.github/workflows/playwright-changed-files.yml @@ -141,13 +141,13 @@ jobs: rm -rf ./test-results pytest ${{ steps.changed-files.outputs.all_changed_files }} --browser webkit --browser chromium --browser firefox --tracing retain-on-failure -n auto --reruns 0 --cov=streamlit --cov-config=.coveragerc --cov-report=html - name: Upload failed test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: always() with: name: playwright_test_results_${{ steps.short_sha.outputs.sha_short }} path: e2e_playwright/test-results - name: Upload coverage HTML report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: coverage_report_e2e path: e2e_playwright/htmlcov diff --git a/.github/workflows/playwright-custom-components.yml b/.github/workflows/playwright-custom-components.yml index 39f34f348f7..be499b9981b 100644 --- a/.github/workflows/playwright-custom-components.yml +++ b/.github/workflows/playwright-custom-components.yml @@ -62,7 +62,7 @@ jobs: rm -rf ./test-results pytest ./custom_components --browser webkit --browser chromium --browser firefox -n auto --reruns 1 - name: Upload failed test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: always() with: name: playwright_test_results_${{ steps.short_sha.outputs.sha_short }} diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index e707518d727..57bca4df3d7 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -61,7 +61,7 @@ jobs: rm -rf ./test-results pytest --ignore ./custom_components --browser webkit --browser chromium --browser firefox -n auto --reruns 1 -m "not performance" - name: Upload failed test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 if: always() with: name: playwright_test_results_${{ steps.short_sha.outputs.sha_short }} diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 9d083030613..29f4ee3ea64 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -141,7 +141,7 @@ jobs: exit 1 fi - name: Store Whl File - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: whl_file path: lib/dist/*.whl @@ -428,7 +428,7 @@ jobs: echo "package-built=true" >> $GITHUB_OUTPUT - name: Store npm package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: component-v2-lib-package path: frontend/component-v2-lib/*.tgz diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 1f0533cfd91..555f2cd514a 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -101,7 +101,7 @@ jobs: - name: CLI Smoke Tests run: make cli-smoke-tests - name: Upload coverage data - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: coverage_data_${{ matrix.python_version }} path: lib/${{ env.COVERAGE_FILE }} @@ -145,7 +145,7 @@ jobs: SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }} SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} - name: Upload coverage data - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: coverage_data_integration path: lib/${{ env.COVERAGE_FILE }} @@ -209,7 +209,7 @@ jobs: echo "min constraints file is up to date." fi - name: Upload coverage data - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: coverage_data_min_deps path: lib/${{ env.COVERAGE_FILE }} @@ -274,18 +274,18 @@ jobs: working-directory: lib - name: Upload combined coverage data - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: combined_coverage_data path: lib/.coverage include-hidden-files: true - name: Upload combined coverage JSON - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: combined_coverage_json path: lib/coverage.json - name: Upload combined coverage HTML report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: combined_coverage_report path: lib/htmlcov diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edf1cc571b1..e8ba919d7ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,7 +101,7 @@ jobs: sudo apt install rsync make package - name: Store Package - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: Release path: lib/dist