aboutsummaryrefslogtreecommitdiff
path: root/deps/inja/.github/workflows/single-include.yml
blob: 44a5a660d166f167924701604e2433b569f0f856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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