File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
actions/build-with-patched-std Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ outputs:
21
21
description : The size in bytes of the built test binary
22
22
value : ${{ steps.measure.outputs.test-binary-size }}
23
23
runs :
24
- using : " composite"
24
+ using : composite
25
25
steps :
26
26
- shell : bash
27
27
id : measure
Original file line number Diff line number Diff line change 50
50
- name : Set up std repository and backtrace submodule for size test
51
51
shell : bash
52
52
working-directory : ${{ env.RUSTC_DIR }}
53
+ env :
54
+ PR_SOURCE_REPO : ${{ github.event.pull_request.head.repo.full_name }}
53
55
run : |
54
56
# Bootstrap config
55
57
cat <<EOF > config.toml
@@ -69,19 +71,19 @@ jobs:
69
71
git submodule update --init library/backtrace
70
72
71
73
cd library/backtrace
72
- git remote add head-pr https://github.com/${{ github.event.pull_request.head.repo.full_name }}
74
+ git remote add head-pr " https://github.com/$PR_SOURCE_REPO"
73
75
git fetch --all
74
76
- name : Build binary with base version of backtrace
75
77
uses : ./backtrace/.github/actions/build-with-patched-std
76
78
with :
77
- backtrace-commit : $BASE_COMMIT
79
+ backtrace-commit : ${{ env. BASE_COMMIT }}
78
80
main-rs : ${{ env.TEST_MAIN_RS }}
79
81
rustc-dir : ${{ env.RUSTC_DIR }}
80
82
id : size-reference
81
83
- name : Build binary with PR version of backtrace
82
84
uses : ./backtrace/.github/actions/build-with-patched-std
83
85
with :
84
- backtrace-commit : $HEAD_COMMIT
86
+ backtrace-commit : ${{ env. HEAD_COMMIT }}
85
87
main-rs : ${{ env.TEST_MAIN_RS }}
86
88
rustc-dir : ${{ env.RUSTC_DIR }}
87
89
id : size-updated
You can’t perform that action at this time.
0 commit comments