Skip to content

Commit

Permalink
Update actions/checkout, see if fetch-tags works to fix git describe …
Browse files Browse the repository at this point in the history
…issue
  • Loading branch information
nirosys committed Sep 13, 2023
1 parent a4985c9 commit 60d0d4e
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,9 +51,10 @@ jobs:
- name: Install ${{ matrix.compiler.cc }}
run: yum install ${{ matrix.compiler.packages }} -y
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-tags: true
- 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 @@ -94,9 +95,10 @@ jobs:
ASAN_OPTIONS: "halt_on_error=0"
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-tags: true
- 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 60d0d4e

Please sign in to comment.