Skip to content

Commit

Permalink
fix CI stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Rdeisenroth committed Sep 29, 2024
1 parent 6d4de10 commit 8db5199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@ jobs:
# 3. Build the documents
- name: "Build the documents"
run: |
make -j -C lecture compile
make -j -C exercises compile
make -j -C misc/linux_commands compile
mkdir -p pdfout
cp lecture/pdfout/*.pdf pdfout/
cp exercises/pdfout/*.pdf pdfout/
cp misc/linux_commands/pdfout/*.pdf pdfout/
make -j
# 4. Upload artifacts to GitHub
- name: Upload artifacts to GitHub
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.DEFAULT_GOAL := all

OUT_DIR := pdfout/
# find all makefiles in subdirectories
MAKEFILES := $(shell find . -mindepth 2 -name 'Makefile' -not -path './.git/*' -not -path './.devcontainer')
MAKEFILES := $(shell find . -mindepth 2 -name 'Makefile' -not -path './.git/**/*' -not -path './.devcontainer/**/*')

$(MAKEFILES:Makefile=Makefile.all):
$(eval MAKEFILE := $(patsubst %.all,%,$@))
Expand Down

0 comments on commit 8db5199

Please sign in to comment.