Skip to content

Commit d546c33

Browse files
committed
workaround checkout action bug with tags
1 parent fa775c8 commit d546c33

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,15 @@ jobs:
77
name: ubuntu-latest
88
runs-on: ubuntu-latest
99
container: devkitpro/devkitppc:latest
10-
10+
1111
steps:
1212
- uses: actions/checkout@v4.3.1
13-
with:
14-
fetch-tags: true
15-
fetch-depth: '25'
16-
13+
- name: Fetch tags
14+
run: git fetch --prune --unshallow --tags
1715
#workaround for the github checkout not fully working right with containers
1816
#see : https://github.com/actions/checkout/issues/2031
1917
- name: Add git safe directory
2018
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
21-
2219
- name: Build
2320
run: |
2421
catnip

0 commit comments

Comments
 (0)