Skip to content

Commit

Permalink
test filter for latex compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Lobet committed Oct 25, 2024
1 parent a098fa7 commit 3f6a377
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/courses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,23 @@ on: [push]

jobs:

changes:
runs-on: ubuntu-latest
outputs:
output1: ${{ steps.filter.outputs.workflows }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
beginner:
- 'courses/01_beginners/*.tex'
- 'images'
build_beginner_course:
needs: changes
if: ${{ needs.changes.outputs.beginner == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
Expand Down

0 comments on commit 3f6a377

Please sign in to comment.