blob: 44a5a660d166f167924701604e2433b569f0f856 [file] [log] [blame]
name: Single Include
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: update single include
run: |
mv single_include/inja/inja.hpp single_include/inja/inja_old.hpp
bash scripts/update_single_include.sh
- name: check if equal
working-directory: ${{runner.workspace}}/inja/single_include/
shell: bash
run: |
pwd
ls inja
cat inja/inja.hpp
cat inja/inja_old.hpp
diff inja/inja.hpp inja/inja_old.hpp >/dev/null
- uses: actions/upload-artifact@v1
with:
name: single_include_inja
path: single_include/inja/inja.hpp