1
0
Fork 0

Fix 3e747397f0: Also upgrade preview workflow

pull/13438/head
glx22 2025-02-02 05:13:43 +01:00
parent 59354576d4
commit a78c5ca778
1 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,13 @@ jobs:
git config --global --add safe.directory ${GITHUB_WORKSPACE} git config --global --add safe.directory ${GITHUB_WORKSPACE}
git checkout -b pr${{ github.event.pull_request.number }} git checkout -b pr${{ github.event.pull_request.number }}
- name: Update to modern GCC
run: |
apt-get update
apt-get install -y gcc-12 g++-12
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
- name: Setup cache - name: Setup cache
uses: actions/cache@v4 uses: actions/cache@v4
with: with: