Skip to content

Commit

Permalink
Roll back to checkout@v3, v4 was too new for amazonlinux 1&2; Add fet…
Browse files Browse the repository at this point in the history
…ch-depth
  • Loading branch information
nirosys committed Sep 13, 2023
1 parent 60d0d4e commit 377be4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ jobs:
- name: Install ${{ matrix.compiler.cc }}
run: yum install ${{ matrix.compiler.packages }} -y
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
submodules: recursive
fetch-tags: true
fetch-depth: 50 # we need to be able to fetch the tag that is nearest to the current commit.
- name: Create git config # Fixes an issue where git refuses to work due to dubious permissions.
run: git config --system --add safe.directory $GITHUB_WORKSPACE
- name: Build Debug
Expand Down Expand Up @@ -95,10 +96,11 @@ jobs:
ASAN_OPTIONS: "halt_on_error=0"
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
submodules: recursive
fetch-tags: true
fetch-depth: 50
- name: Create git config # Fixes an issue where git refuses to work due to dubious permissions.
run: git config --global --add safe.directory $GITHUB_WORKSPACE
# This step should fix an issue with building on macos with gcc, and xcode 14.0,
Expand Down

0 comments on commit 377be4e

Please sign in to comment.