diff --git a/.github/workflows/test262.yml b/.github/workflows/test262.yml index 7aefd9323d..0b2ab48875 100644 --- a/.github/workflows/test262.yml +++ b/.github/workflows/test262.yml @@ -37,13 +37,13 @@ jobs: ~/.cargo/registry key: ${{ runner.os }}-cargo-test262-${{ hashFiles('**/Cargo.lock') }} - # Run the test suite and upload the results - name: Checkout GitHub pages uses: actions/checkout@v4 with: ref: gh-pages path: gh-pages + # Run the test suite. - name: Run the test262 test suite run: | cd boa @@ -100,6 +100,12 @@ jobs: ${{ steps.compare.outputs.comment }} # Commit changes to GitHub pages. + - name: Checkout GitHub pages + if: github.event_name == 'push' + uses: actions/checkout@v4 + with: + ref: gh-pages + path: gh-pages - name: Commit files if: github.event_name == 'push' run: |