Skip to content

Commit

Permalink
calculate WPT new version after git node wpt update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mert Can Altin committed Sep 21, 2024
1 parent 16159c7 commit 04f3616
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-wpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ jobs:
run: |
npm install -g @node-core/utils
- name: Calculate new version for WPT using jq
run: |
new_version=$(jq -r '.${{ matrix.subsystem }}.commit' test/fixtures/wpt/versions.json)
echo "new_version=$new_version" >> $GITHUB_ENV
- name: Compare versions
run: |
echo "Comparing current version to new version ${{ env.new_version }}"
Expand All @@ -47,6 +42,11 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_USER_TOKEN }}

- name: Calculate new version for WPT using jq
run: |
new_version=$(jq -r '.${{ matrix.subsystem }}.commit' test/fixtures/wpt/versions.json)
echo "new_version=$new_version" >> $GITHUB_ENV
- name: Handle changes
run: |
if [[ "$(git status --porcelain)" != "" ]]; then
Expand Down

0 comments on commit 04f3616

Please sign in to comment.