Skip to content

Commit bee7559

Browse files
committed
Add steps to set up Python and build SQLite database in workflow
1 parent b95eb10 commit bee7559

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ jobs:
1616
repository: jeroenvdmeer/feyod
1717
path: ./feyod
1818

19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: '3.x'
23+
24+
- name: Build SQLite Database
25+
run: |
26+
echo "Building feyod.db..."
27+
cd ./feyod
28+
rm -f feyod.db # Ensure clean start
29+
sqlite3 feyod.db < feyod.sql
30+
echo "Database successfully built."
31+
1932
- name: Log in to Azure
2033
uses: azure/login@v2
2134
with:

0 commit comments

Comments
 (0)