build: correctly build pr to generate assets (#2051)

This commit is contained in:
Baptiste Augrain
2024-10-08 13:23:42 +02:00
committed by GitHub
parent 48cabed6ba
commit fc453f25f8
8 changed files with 102 additions and 26 deletions

View File

@@ -55,6 +55,11 @@ jobs:
with:
ref: ${{ env.GITHUB_BRANCH }}
- name: Switch to relevant branch
env:
PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
run: ./get_pr.sh
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
@@ -69,8 +74,6 @@ jobs:
python-version: '3.11'
- name: Clone VSCode repo
env:
PULL_REQUEST_ID: ${{ github.event.inputs.checkout_pr }}
run: ./get_repo.sh
- name: Check PR or cron