Skip to content

Commit

Permalink
Update git in CI for old GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Sep 30, 2024
1 parent 3f868c2 commit fc091f2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ jobs:
steps:
- run: |
apt-get update
apt-get install -y build-essential git cmake curl sudo
apt-get install -y ca-certificates
apt-get install -y cmake curl sudo
apt-get install -y --no-install-recommends gpg-agent software-properties-common
apt-add-repository --yes ppa:git-core/ppa
apt-get update
apt-get install -y build-essential git
curl -L -O -J https://github.com/PowerShell/PowerShell/releases/download/v7.2.23/powershell_7.2.23-1.deb_amd64.deb
dpkg -i powershell_7.2.23-1.deb_amd64.deb
apt-get install -f
Expand All @@ -79,7 +84,7 @@ jobs:
git config --global --add safe.directory '*'
git clone --recursive ${{ github.server_url }}/${{ github.repository }}.git .
git fetch origin ${{ github.sha }}
git checkout -b ci-job ${{ github.sha }}
git checkout --recurse-submodules -b ci-job ${{ github.sha }}
- uses: dtolnay/rust-toolchain@master
id: toolchain
with:
Expand Down

0 comments on commit fc091f2

Please sign in to comment.