Skip to content

Commit

Permalink
ci: add build step
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrunton committed Feb 4, 2024
1 parent 683e165 commit 69d4ace
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
- push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: xu-cheng/latex-action@v3
with:
root_file: |
good-strategy-bad-strategy/good-strategy-bad-strategy.tex
work_in_root_file_dir: true
- uses: tj-actions/verify-changed-files@v18
id: changed-files
- if: steps.changed-files.outputs.files_changed == 'true'
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.changed_files }}
run: |
echo "Changed files: $CHANGED_FILES"
exit 1

0 comments on commit 69d4ace

Please sign in to comment.