Skip to content

Commit d405a0f

Browse files
committed
Fix screenshot workflow
1 parent 4ed1842 commit d405a0f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/themes-screenshot.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,19 @@ on:
88
pull_request:
99

1010
jobs:
11-
system-monitor:
11+
system-monitor-theme-screenshot:
1212

1313
runs-on: ubuntu-latest
1414

1515
strategy:
1616
fail-fast: false
17-
matrix:
18-
theme: [ "3.5inchTheme2", "Cyberpunk", "Cyberpunk-net", "Landscape6Grid", "Terminal", "bash-dark-green", "bash-dark-green-gpu",
19-
"LandscapeMagicBlue", "BigClock" ]
2017

2118
steps:
2219
- uses: actions/checkout@v3
2320
- name: Set up Python 3.10
2421
uses: actions/setup-python@v4
2522
with:
26-
python-version: 3.10
23+
python-version: "3.10"
2724

2825
- name: Install dependencies
2926
run: |
@@ -42,8 +39,8 @@ jobs:
4239
run: |
4340
for dir in res/themes/*/
4441
do
45-
# Remove the trailing "/"
46-
theme=${dir%*/}
42+
# Keep only folder name
43+
theme=`basename ${dir%*/}`
4744
4845
# Setup selected theme in config.yaml
4946
echo "Using theme $theme"

0 commit comments

Comments
 (0)