File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,13 @@ jobs:
35
35
run : |
36
36
curl https://swift.org/builds/swift-5.4.2-release/ubuntu2004/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-ubuntu20.04.tar.gz > swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
37
37
echo "Sha sum: $(sha256sum swift-5.4.2-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')"
38
- if [ "$(sha256sum swift-5.4.2-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')" != "86b849d9f6ba2eda4e12ea5eafaa0748bffcd6272466b514c2b0fd4a829c63a4 " ]; then
38
+ if [ "$(sha256sum swift-5.4.2-RELEASE-ubuntu20.04.tar.gz | awk '{ print $1 }')" != "${EXPECTED_SWIFT_SHASUM} " ]; then
39
39
echo "Bad hash"
40
40
exit 1
41
41
fi
42
42
tar xvvf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
43
+ env :
44
+ EXPECTED_SWIFT_SHASUM : 249abab56c940ebd0266752ecc100e7a3f9bda3341603f8cdeffa6943d9ab355
43
45
- name : Install native Rust toolchain, Valgrind, and build utilitis
44
46
run : |
45
47
sudo apt-get update
You can’t perform that action at this time.
0 commit comments