Skip to content

Commit 3c826cb

Browse files
authored
Updated github workers (#79)
* Updated workflows with newer github action versions and merged dispatch and non dispatch tests * typo in documentation worker * corrected issues * trying to revert test github action versions following huggingface token mishap
1 parent 89a8193 commit 3c826cb

File tree

4 files changed

+12
-43
lines changed

4 files changed

+12
-43
lines changed

.github/workflows/dispatch-test-examples.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Python Test examples (manual)
22

3-
on: workflow_dispatch
3+
on:
4+
workflow_dispatch:
45

56
jobs:
67
test:
@@ -11,8 +12,8 @@ jobs:
1112
python-version: ["3.10"]
1213

1314
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-python@v4
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
1617
name: Setup python ${{ matrix.python-version }}
1718
with:
1819
cache-dependency-path: '**/requirements_python3.10.txt'

.github/workflows/dispatch-test.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/documentation.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Publish documentation
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main
@@ -26,8 +27,8 @@ jobs:
2627
url: ${{ steps.deployment.outputs.page_url }}
2728

2829
steps:
29-
- uses: actions/checkout@v3
30-
- uses: actions/setup-python@v4
30+
- uses: actions/checkout@v4
31+
- uses: actions/setup-python@v5
3132
name: Setup python ${{ matrix.python-version }}
3233
with:
3334
cache-dependency-path: '**/requirements_python3.10.txt'
@@ -46,11 +47,11 @@ jobs:
4647
- name: Make documentation
4748
run: make -C docs html
4849
- name: Upload artifact
49-
uses: actions/upload-pages-artifact@v2
50+
uses: actions/upload-pages-artifact@v3
5051
with:
5152
# Upload entire repository
5253
path: './docs/_build/html'
5354
- name: Deploy to GitHub Pages
5455
id: deployment
55-
uses: actions/deploy-pages@v2
56+
uses: actions/deploy-pages@v4
5657

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name: Python Test
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main
78
- dev
89
- dev-ci-doc
910
paths:
10-
- '**.py'
11-
- '!docs/**'
11+
- "**.py"
12+
- "!docs/**"
1213

1314
jobs:
1415
test:

0 commit comments

Comments
 (0)