Skip to content

Commit 09b027b

Browse files
committed
changed youtube demos to be self hosted
1 parent 6713f20 commit 09b027b

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

.github/workflows/python-demos.yml

+4-22
Original file line numberDiff line numberDiff line change
@@ -78,27 +78,18 @@ jobs:
7878
run: python3 leopard_demo_file.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --wav_paths ../../resources/audio_samples/test.wav
7979

8080
build-subtitle-demo:
81-
runs-on: ${{ matrix.os }}
81+
runs-on: ${{ matrix.machine }}
8282
defaults:
8383
run:
8484
working-directory: demo/python-subtitle
8585

8686
strategy:
8787
matrix:
88-
os: [ubuntu-latest, windows-latest, macos-latest]
89-
python-version: ['3.10']
88+
machine: [pv-linux, pv-windows, pv-ios]
9089

9190
steps:
9291
- uses: actions/checkout@v3
9392

94-
- name: Set up Python ${{ matrix.python-version }}
95-
uses: actions/setup-python@v4
96-
with:
97-
python-version: ${{ matrix.python-version }}
98-
99-
- name: Pre-build dependencies
100-
run: python -m pip install --upgrade pip
101-
10293
# ************ REMOVE AFTER RELEASE ***************
10394
- name: build local binding
10495
run: |
@@ -117,27 +108,18 @@ jobs:
117108
--subtitle_path test.txt
118109

119110
build-youtube-demo:
120-
runs-on: ${{ matrix.os }}
111+
runs-on: ${{ matrix.machine }}
121112
defaults:
122113
run:
123114
working-directory: demo/python-youtube
124115

125116
strategy:
126117
matrix:
127-
os: [ubuntu-latest, windows-latest, macos-latest]
128-
python-version: ['3.10']
118+
machine: [pv-linux, pv-windows, pv-ios]
129119

130120
steps:
131121
- uses: actions/checkout@v3
132122

133-
- name: Set up Python ${{ matrix.python-version }}
134-
uses: actions/setup-python@v4
135-
with:
136-
python-version: ${{ matrix.python-version }}
137-
138-
- name: Pre-build dependencies
139-
run: python -m pip install --upgrade pip
140-
141123
# ************ REMOVE AFTER RELEASE ***************
142124
- name: build local binding
143125
run: |

0 commit comments

Comments
 (0)