File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 2020 - name : Checkout the repo
2121 uses : actions/checkout@v4
2222
23- - name : Get linked PR branch
24- id : get-linked-pr-branch
25- uses : ./.github/actions/get-linked-pr
26- with :
27- target-repo : wasp-lang/wasp
28-
2923 - name : Setup Node.js
3024 id : setup-node
3125 uses : actions/setup-node@v4
3529 - name : Docker setup
3630 uses : docker/setup-buildx-action@v3
3731
38- - name : Install Wasp
32+ - name : Get linked PR branch
33+ id : get-linked-pr-branch
34+ uses : ./.github/actions/get-linked-pr
35+ with :
36+ target-repo : wasp-lang/wasp
37+
38+ - name : Download Wasp build artifacts from linked PR
39+ if : steps.get-linked-pr-branch.outputs.pr-branch
40+ uses : wasp-lang/wasp/.github/actions/fetch-nightly-cli@main
41+ with :
42+ branch : ${{ steps.get-linked-pr-branch.outputs.pr-branch }}
43+ output-dir : ${{ runner.temp }}/wasp-cli
44+
45+ - name : Install Wasp (branch ${{ steps.get-linked-pr-branch.outputs.pr-branch }})
46+ if : ${{ steps.get-linked-pr-branch.outputs.pr-branch }}
47+ run : curl -sSL https://get.wasp.sh/installer.sh | sh -s -- -f ${{ runner.temp }}/wasp-cli/wasp-*.tar.gz
48+
49+ - name : Install Wasp (version ${{ env.WASP_VERSION }})
50+ if : ${{ !steps.get-linked-pr-branch.outputs.pr-branch }}
3951 run : curl -sSL https://get.wasp.sh/installer.sh | sh -s -- -v ${{ env.WASP_VERSION }}
4052
4153 - name : Cache global node modules
You can’t perform that action at this time.
0 commit comments