Skip to content

Commit 7ddd620

Browse files
author
Aurela Shehu
committed
added setup python in documentation.yml
1 parent cc4aafa commit 7ddd620

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/documentation.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ name: Widoco
44

55
# Controls when the workflow will run
66
on:
7-
# Triggers the workflow on push or pull request events but only for the "main" branch
8-
# TODO: update so it triggers only when the owl file is changed
7+
# Triggers the workflow on push request events but only when the owl file in "main" branch is changed
98
push:
109
branches: [ "main" ]
1110
paths:
1211
# Specify the file path to the ontology
1312
- 'MathModDB_full.owl'
1413

15-
pull_request:
16-
branches: [ "main" ]
17-
1814
# Allows you to run this workflow manually from the Actions tab
1915
workflow_dispatch:
2016

@@ -30,6 +26,11 @@ jobs:
3026
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3127
- uses: actions/checkout@v4
3228

29+
- name: Set up Python environment
30+
uses: actions/setup-python@v4
31+
with:
32+
python-version: '3.13.1' # Specify the Python version to use
33+
3334
# Runs a single command using the runners shell
3435
- name: Run a one-line script
3536
run: echo Hello, world!

0 commit comments

Comments
 (0)