Skip to content

Commit f5fdfae

Browse files
committed
Swap expected Swift shasum
1 parent b6b8216 commit f5fdfae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/swift.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ jobs:
3535
run: |
3636
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
3737
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
3939
echo "Bad hash"
4040
exit 1
4141
fi
4242
tar xvvf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
43+
env:
44+
EXPECTED_SWIFT_SHASUM: 249abab56c940ebd0266752ecc100e7a3f9bda3341603f8cdeffa6943d9ab355
4345
- name: Install native Rust toolchain, Valgrind, and build utilitis
4446
run: |
4547
sudo apt-get update

0 commit comments

Comments
 (0)