Skip to content

Commit 6a2a14d

Browse files
committed
Organize directory structure
1 parent 6f2e63c commit 6a2a14d

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)