Skip to content

Commit cf9ac5e

Browse files
committed
fix(ci): add git safe.directory to resolve tag inside container
1 parent 35eeb6c commit cf9ac5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- name: Compile LaTeX document
2222
run: |
2323
docker run --rm -v ${{ github.workspace }}:/workspace \
24-
ghcr.io/${{ github.repository_owner }}/texlive-cv:latest
24+
ghcr.io/${{ github.repository_owner }}/texlive-cv:latest bash -c \
25+
"git config --global --add safe.directory /workspace && bash toPDF.sh cv.tex"
2526
2627
- name: Release
2728
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)