mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
ci: Switch to version 4 of GitHub artifact actions (#31357)
* ci: Switch to version 4 of GitHub artifact actions This switches to version 4 of the GitHub artifact actions, which requires producing a single artifact per job and adding merge steps. In addition, the names of artifacts are standardized: - Build: <profile>-binary-<platform> - Full WPT results (only on failure): wpt-full-logs-<platform>-<layout> - Filtered WPT results (only on failure): wpt-filtered-logs-<platform>-<layout> * Delete merged build timings and combine with Result job * Always archives logs even after test failures * Correct the name of the log files for WPT import
This commit is contained in:
parent
d5c9e569bf
commit
1cc546c4fc
9 changed files with 144 additions and 133 deletions
12
.github/workflows/scheduled-wpt-import.yml
vendored
12
.github/workflows/scheduled-wpt-import.yml
vendored
|
@ -31,8 +31,12 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
# Download all artifacts
|
||||
- uses: actions/download-artifact@v3
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: wpt-full-logs-linux-layout-2013
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: wpt-full-logs-linux-layout-2020
|
||||
- name: Prep environment
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
|
@ -52,8 +56,8 @@ jobs:
|
|||
export CURRENT_DATE=$(date +"%d-%m-%Y")
|
||||
echo $CURRENT_DATE
|
||||
echo "CURRENT_DATE=$CURRENT_DATE" >> $GITHUB_ENV
|
||||
./mach update-wpt --legacy-layout wpt-logs-linux-layout-2013/test-wpt.*.log
|
||||
./mach update-wpt wpt-logs-linux-layout-2020/test-wpt.*.log
|
||||
./mach update-wpt linux-layout-2013/*.log --legacy-layout
|
||||
./mach update-wpt linux-layout-2020/*.log
|
||||
git add tests/wpt/meta tests/wpt/meta-legacy-layout
|
||||
git commit -a --amend --no-edit
|
||||
- name: Push changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue