File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Merge SQL files
2+ # This workflow run automatically for every commit on github it checks the syntax and launch the tests.
3+ # | grep . | uniq -c filters out empty lines and then groups consecutive lines together with the number of occurrences
4+ on :
5+ pull_request :
6+ workflow_dispatch :
7+ inputs :
8+ comment :
9+ description : Just a simple comment to know the purpose of the manual build
10+ required : false
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - name : Merge me!
18+ run : bash concatenate_files.sh
19+ - name : Publish artifact
20+ uses : actions/upload-artifact@master
21+ with :
22+ name : sql-files
23+ path : output
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ mkdir output
4+ cat database scripts/* .sql > output/fullDemoDatabase.sql
You can’t perform that action at this time.
0 commit comments