Skip to content

Commit a3b2f02

Browse files
author
Miguel Aranha Baldi Horlle
committed
Fix problem on git describe
- See: actions/checkout#290
1 parent ba067be commit a3b2f02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build_and_publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
- name: Fix tag reference (workaround for https://github.com/actions/checkout/issues/290)
15+
run: git fetch --update-head-ok -f origin ${{ github.ref }}:${{ github.ref }}
1416
- name: Build
1517
run: docker-compose up
1618
- name: Upload Artifact
@@ -24,6 +26,8 @@ jobs:
2426
runs-on: ubuntu-latest
2527
steps:
2628
- uses: actions/checkout@v4
29+
- name: Fix tag reference (workaround for https://github.com/actions/checkout/issues/290)
30+
run: git fetch --update-head-ok -f origin ${{ github.ref }}:${{ github.ref }}
2731
- name: Build (Windows)
2832
run: docker-compose -f docker-compose.windows.yml up
2933
- name: Make Windows Installer

0 commit comments

Comments
 (0)