Skip to content

Commit

Permalink
ci: workaround runner-image issue
Browse files Browse the repository at this point in the history
This workaround has been suggested on the issue actions/runner-images#8659
  • Loading branch information
acolombier committed Oct 28, 2023
1 parent 2db33fd commit c37504d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ jobs:
artifact-macos-macosarm: ${{ steps.prepare_deploy.outputs.artifact-macos-macosarm }}
artifact-windows-win64: ${{ steps.prepare_deploy.outputs.artifact-windows-win64 }}
steps:
# Work around https://github.com/actions/runner-images/issues/8659
- name: "[Ubuntu] Remove GCC 13 from runner image"
if: runner.os == 'Linux'
shell: bash
run: |
sudo rm -f /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list
sudo apt-get update
sudo apt-get install -y --allow-downgrades libc6=2.35-0ubuntu3.4 libc6-dev=2.35-0ubuntu3.4 libstdc++6=12.3.0-1ubuntu1~22.04 libgcc-s1=12.3.0-1ubuntu1~22.04
- name: "[Windows] Set up Cargo cache"
if: runner.os == 'Windows'
uses: actions/cache@v3
Expand Down

0 comments on commit c37504d

Please sign in to comment.