File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,12 @@ jobs:
32
32
33
33
- name : Download results to web/src/data
34
34
run : |
35
- curl -O https://raw.githubusercontent.com/TuringLang/ADTests/refs/heads/gh-pages/adtests.json
36
- curl -O https://raw.githubusercontent.com/TuringLang/ADTests/refs/heads/gh-pages/manifest.json
37
- curl -O https://raw.githubusercontent.com/TuringLang/ADTests/refs/heads/gh-pages/model_definitions.json
35
+ curl -O https://raw.githubusercontent.com/TuringLang/ADTests/refs/heads/gh-pages/${PR} adtests.json
36
+ curl -O https://raw.githubusercontent.com/TuringLang/ADTests/refs/heads/gh-pages/${PR} manifest.json
37
+ curl -O https://raw.githubusercontent.com/TuringLang/ADTests/refs/heads/gh-pages/${PR} model_definitions.json
38
38
working-directory : web/src/data
39
+ env :
40
+ PR : ${{ github.event_name == 'pull_request' && 'pr/' || '' }}
39
41
40
42
# This isn't needed to build the website, it's just there so that the
41
43
# JSON is easily accessible on the gh-pages branch
You can’t perform that action at this time.
0 commit comments