Skip to content

Commit 694659c

Browse files
panvatargos
authored andcommittedMar 13, 2023
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

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed
 

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

+3-6
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)