Skip to content

Commit 692442a

Browse files
committed
feat(doctool): Add support for doctool taking screenshots.
1 parent 9b30b5f commit 692442a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/generate-readme.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ jobs:
2020
path: doctool
2121
token: ${{ secrets.token }}
2222

23+
- name: Install dependencies
24+
run: |
25+
sudo apt-get update
26+
sudo apt-get install -y xvfb scrot python3-tk
27+
28+
- name: Start virtual display
29+
run: |
30+
Xvfb :99 -screen 0 1024x768x24 &
31+
echo "DISPLAY=:99" >> $GITHUB_ENV
32+
2333
- name: Launch local doctool
2434
uses: ./doctool
2535
id: launch-doctool

.github/workflows/starter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131

132132
call-generate-readme-workflow:
133133
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
134-
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@v3
134+
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@3.2.0-rc.4
135135
secrets:
136136
token: ${{ secrets.token }}
137137

0 commit comments

Comments
 (0)