mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 16:56:19 +08:00
DEV: Update actions/upload-artifact to v4 (#24943)
This commit is contained in:
parent
8207e59c00
commit
157a2fce1b
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
|
@ -239,10 +239,10 @@ jobs:
|
||||||
run: DISCOURSE_DEV_DB=discourse_test QUNIT_PARALLEL=3 bin/rake themes:qunit_all_official
|
run: DISCOURSE_DEV_DB=discourse_test QUNIT_PARALLEL=3 bin/rake themes:qunit_all_official
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: always() && matrix.build_type == 'frontend' && matrix.target == 'plugins'
|
if: always() && matrix.build_type == 'frontend' && matrix.target == 'plugins'
|
||||||
with:
|
with:
|
||||||
name: ember-exam-execution-plugins-frontend
|
name: ember-exam-execution-plugins-frontend-${{ hashFiles('./app/assets/javascripts/discourse/test-execution-*.json') }}
|
||||||
path: ./app/assets/javascripts/discourse/test-execution-*.json
|
path: ./app/assets/javascripts/discourse/test-execution-*.json
|
||||||
|
|
||||||
- name: Ember Build for System Tests
|
- name: Ember Build for System Tests
|
||||||
|
@ -289,10 +289,10 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Upload failed system test screenshots
|
- name: Upload failed system test screenshots
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
if: always() && steps.check-failed-system-test-screenshots.outputs.exists == 'true'
|
if: always() && steps.check-failed-system-test-screenshots.outputs.exists == 'true'
|
||||||
with:
|
with:
|
||||||
name: failed-system-test-screenshots
|
name: failed-system-test-screenshots-${{ hashFiles('tmp/capybara/*.png') }}
|
||||||
path: tmp/capybara/*.png
|
path: tmp/capybara/*.png
|
||||||
|
|
||||||
- name: Check for flaky tests report
|
- name: Check for flaky tests report
|
||||||
|
@ -318,10 +318,10 @@ jobs:
|
||||||
run: cp tmp/turbo_rspec_flaky_tests.json tmp/turbo_rspec_flaky_tests-${{ matrix.build_type }}-${{ matrix.target }}-${{ steps.fetch-job-id.outputs.job_id }}.json
|
run: cp tmp/turbo_rspec_flaky_tests.json tmp/turbo_rspec_flaky_tests-${{ matrix.build_type }}-${{ matrix.target }}-${{ steps.fetch-job-id.outputs.job_id }}.json
|
||||||
|
|
||||||
- name: Upload flaky tests report
|
- name: Upload flaky tests report
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
if: always() && steps.check-flaky-spec-report.outputs.exists == 'true'
|
if: always() && steps.check-flaky-spec-report.outputs.exists == 'true'
|
||||||
with:
|
with:
|
||||||
name: flaky-test-reports
|
name: flaky-test-reports-${{ hashFiles('tmp/turbo_rspec_flaky_tests-*') }}
|
||||||
path: tmp/turbo_rspec_flaky_tests-${{ matrix.build_type }}-${{ matrix.target }}-${{ steps.fetch-job-id.outputs.job_id }}.json
|
path: tmp/turbo_rspec_flaky_tests-${{ matrix.build_type }}-${{ matrix.target }}-${{ steps.fetch-job-id.outputs.job_id }}.json
|
||||||
|
|
||||||
- name: Check Annotations
|
- name: Check Annotations
|
||||||
|
@ -404,8 +404,8 @@ jobs:
|
||||||
run: yarn ember exam --path /tmp/emberbuild --load-balance --parallel=5 --launch "${{ env.TESTEM_BROWSER }}" --write-execution-file --random
|
run: yarn ember exam --path /tmp/emberbuild --load-balance --parallel=5 --launch "${{ env.TESTEM_BROWSER }}" --write-execution-file --random
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
with:
|
with:
|
||||||
name: ember-exam-execution-${{ matrix.browser }}
|
name: ember-exam-execution-${{ matrix.browser }}-${{ hashFiles('./app/assets/javascripts/discourse/test-execution-*.json') }}
|
||||||
path: ./app/assets/javascripts/discourse/test-execution-*.json
|
path: ./app/assets/javascripts/discourse/test-execution-*.json
|
||||||
|
|
Loading…
Reference in New Issue
Block a user