Skip to content

Commit

Permalink
Use standard checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Jan 3, 2025
1 parent 858d585 commit 1d7b086
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,7 @@ jobs:

steps:
- name: Checkout
run: |
case "${{matrix.container}}" in
ubuntu:18.04)
export DEBIAN_FRONTEND=noninteractive
apt-get update -qq
apt-get install -qq git
;;
esac
git config --global init.defaultBranch master
git config --global --add safe.directory `pwd`
git config --global advice.detachedHead false
git init .
git remote add origin https://github.com/SOCI/soci.git
git fetch --depth=1 origin $GITHUB_SHA
git checkout FETCH_HEAD
uses: actions/checkout@v4

- name: Set environment variables
run: |
Expand Down

0 comments on commit 1d7b086

Please sign in to comment.