Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6d2cbc9

Browse files
committedSep 21, 2024
Organize directory structure
1 parent 8070ddb commit 6d2cbc9

File tree

13 files changed

+2
-2
lines changed

13 files changed

+2
-2
lines changed
 

‎.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
sudo apt-get install texlive*
1616
- name: Build
1717
run: |
18-
find . -iname '*.tex' -exec pdflatex {} \;
18+
find . -iname '*.tex' -exec sh -c 'cd $(echo {}|cut -d"/" -f2) && pdflatex -output-directory $GITHUB_WORKSPACE $GITHUB_WORKSPACE/{}' \;
1919
- uses: actions/upload-artifact@v4
2020
with:
2121
name: pdf-linux
@@ -30,7 +30,7 @@ jobs:
3030
- name: Build
3131
run: |
3232
eval "$(/usr/libexec/path_helper)"
33-
find . -iname '*.tex' -exec pdflatex {} \;
33+
find . -iname '*.tex' -exec sh -c 'cd $(echo {}|cut -d"/" -f2) && pdflatex -output-directory $GITHUB_WORKSPACE $GITHUB_WORKSPACE/{}' \;
3434
- uses: actions/upload-artifact@v4
3535
with:
3636
name: pdf-macos
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.