Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 694659c

Browse filesBrowse files
panvatargos
authored andcommitted
tools: cleanup WPT refs in daily-wpt-fyi.yml
PR-URL: #46740 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent f4cdc6f commit 694659c
Copy full SHA for 694659c

File tree

Expand file treeCollapse file tree

1 file changed

+3
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-6
lines changed
Open diff view settings
Collapse file

‎.github/workflows/daily-wpt-fyi.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/daily-wpt-fyi.yml
+3-6Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
ref: ${{ env.NIGHTLY_REF || steps.setup-node.outputs.node-version }}
6363
- name: Set env.NODE
6464
run: echo "NODE=$(which node)" >> $GITHUB_ENV
65-
- name: Set env.WPT_DAILY_REF
65+
- name: Set env.WPT_REVISION
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
run: echo "WPT_DAILY_REF=$(gh api /repos/web-platform-tests/wpt/branches/epochs/daily --jq '.commit.sha')" >> $GITHUB_ENV
68+
run: echo "WPT_REVISION=$(gh api /repos/web-platform-tests/wpt/branches/epochs/daily --jq '.commit.sha')" >> $GITHUB_ENV
6969

7070
# replace checked out WPT with the synchronized branch
7171
- name: Remove stale WPT
@@ -78,10 +78,7 @@ jobs:
7878
persist-credentials: false
7979
path: test/fixtures/wpt
8080
clean: false
81-
ref: ${{ env.WPT_DAILY_REF }}
82-
- name: Set env.WPT_REVISION
83-
run: echo "WPT_REVISION=$(git rev-parse HEAD)" >> $GITHUB_ENV
84-
working-directory: test/fixtures/wpt
81+
ref: ${{ env.WPT_REVISION }}
8582

8683
- name: Run WPT and generate report
8784
run: make test-wpt-report || true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.