File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 69
69
rustup component add clippy
70
70
- name : Run the centos check within the docker image
71
71
run : |
72
- HERE=$(pwd)
73
72
docker run \
74
- --volume "$HERE ":/checkout:ro \
73
+ --volume "$PWD ":/checkout:ro \
75
74
--workdir /checkout \
76
75
--tty \
77
76
--init \
Original file line number Diff line number Diff line change @@ -115,15 +115,14 @@ jobs:
115
115
fi
116
116
- name : Run the build within the docker image
117
117
run : |
118
- HERE=$(pwd)
119
- mkdir -p "${HERE}/target"
120
- chown -R "$(id -u)":"$(id -g)" "${HERE}/target"
118
+ mkdir -p "${PWD}/target"
119
+ chown -R "$(id -u)":"$(id -g)" "${PWD}/target"
121
120
docker run \
122
121
--entrypoint sh \
123
122
--user "$(id -u)":"$(id -g)" \
124
123
--volume "$(rustc --print sysroot)":/rustc-sysroot:ro \
125
- --volume "${HERE }":/checkout:ro \
126
- --volume "${HERE }"/target:/checkout/target \
124
+ --volume "${PWD }":/checkout:ro \
125
+ --volume "${PWD }"/target:/checkout/target \
127
126
--workdir /checkout \
128
127
--env TARGET="${TARGET}" \
129
128
--env SKIP_TESTS="${SKIP_TESTS}" \
You can’t perform that action at this time.
0 commit comments