Skip to content

Commit

Permalink
fix(deb): downgrade libstdc++6 for ubuntu-22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
GoetzGoerisch committed Apr 24, 2024
1 parent 1f2e33e commit da5a160
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ jobs:
fetch-depth: 0
- name: Build UmatiDashboardOpcUaClient with dependencies
# yamllint disable rule:line-length
if: ${{matrix.os == 'ubuntu-22.04'}}
run: |
#! /bin/bash
dpkg -l libstdc++6
apt install libstdc++6=12.3.0-1ubuntu1~22.04 -y --allow-downgrades
- run: |
#! /bin/bash
LIBCPP_VERSION="$(dpkg -s libstdc++6 | grep Version | awk '{match($0,"[0-9]+.[0-9].[0-9]",a)}END{print a[0]}')" # yamllint disable-line rule:line-length
echo "$LIBCPP_VERSION"
echo "libstdc++6 version=$LIBCPP_VERSION"
mkdir -p build
cd build || exit
#shellcheck disable=SC2296
Expand Down

0 comments on commit da5a160

Please sign in to comment.