Skip to content

Commit 4e1ec7b

Browse files
committed
Address git warnings
1 parent c5e8931 commit 4e1ec7b

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/debian.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
uses: actions/checkout@v5
5454
with:
5555
submodules: recursive
56+
fetch-depth: 0 # Ensures all tags are fetched
5657

5758
- name: 🔧 Prepare
5859
shell: bash
@@ -85,9 +86,11 @@ jobs:
8586
-e LANG="C.UTF-8" \
8687
-e LC_ALL="C.UTF-8" \
8788
ghcr.io/hyperion-project/debian:${{ env.DOCKER_TAG }} \
88-
/bin/bash -c "cmake --preset linux-${{ env.BUILD_TYPE }} ${{ steps.dependencies.outputs.cmakeArgs }} -DPLATFORM=${{ matrix.os.platform }} ${{ env.CPACK_SYSTEM_PROCESSOR }} &&
89-
cmake --build --preset linux-${{ env.BUILD_TYPE }} --target package &&
90-
cp /source/build/Hyperion-* /deploy/ 2>/dev/null"
89+
/bin/bash -c "
90+
git config --global --add safe.directory /source &&
91+
cmake --preset linux-${{ env.BUILD_TYPE }} ${{ steps.dependencies.outputs.cmakeArgs }} -DPLATFORM=${{ matrix.os.platform }} ${{ env.CPACK_SYSTEM_PROCESSOR }} &&
92+
cmake --build --preset linux-${{ env.BUILD_TYPE }} --target package &&
93+
cp /source/build/Hyperion-* /deploy/ 2>/dev/null"
9194
env:
9295
DOCKER_TAG: ${{ inputs.codename == 'bullseye' && matrix.os.architecture[0] == 'armv6' && inputs.codename || format('{0}-qt6', inputs.codename) }}
9396
BUILD_TYPE: ${{ inputs.event_name == 'pull_request' && 'debug' || 'release' }}

.github/workflows/macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
- name: ⬇ Checkout
4343
uses: actions/checkout@v5
4444
with:
45-
submodules: recursive
45+
submodules: recursive
46+
fetch-depth: 0 # Ensures all tags are fetched
4647

4748
- name: 🔧 Prepare
4849
shell: bash

.github/workflows/windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: actions/checkout@v5
4444
with:
4545
submodules: recursive
46+
fetch-depth: 0 # Ensures all tags are fetched
4647

4748
- name: 🔧 Prepare
4849
shell: bash

0 commit comments

Comments
 (0)