Skip to content

Commit 1b02fc5

Browse files
committed
Actually skip the job this time
1 parent 52cb2a8 commit 1b02fc5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
- name: Update libstdc++ for GLIBCXX_3.4.32
3939
id: update_lib
4040
run: |
41-
if ! (
42-
sudo apt-get update -y &&
43-
sudo apt-get install software-properties-common -y &&
44-
for i in {1..5}; do sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && break || sleep 15; done &&
45-
sudo apt-get update -y &&
46-
sudo apt-get install --only-upgrade libstdc++6 -y
47-
); then
41+
sudo apt-get update -y || true
42+
sudo apt-get install software-properties-common -y || true
43+
for i in {1..5}; do sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && break || sleep 15; done || true
44+
sudo apt-get update -y || true
45+
sudo apt-get install --only-upgrade libstdc++6 -y || true
46+
47+
if ! strings /lib/x86_64-linux-gnu/libstdc++.so.6 | grep -q GLIBCXX_3.4.32; then
4848
echo "::warning::Could not update libstdc++ from Launchpad (network timeout). Passing step and skipping remainder of job."
4949
echo "**Notice:** Could not validate the commit (failed to update libstdc++ due to apt network timeouts). The rest of the job has been skipped." >> "$GITHUB_STEP_SUMMARY"
5050
echo "SKIP_JOB=true" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)