diff --git a/.github/workflows/generate-readme.yml b/.github/workflows/generate-readme.yml index 73c40a0..0f574fa 100644 --- a/.github/workflows/generate-readme.yml +++ b/.github/workflows/generate-readme.yml @@ -20,6 +20,19 @@ jobs: path: doctool token: ${{ secrets.token }} + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y xvfb scrot python3-tk x11-xserver-utils x11-utils x11-xkb-utils + + - name: Start virtual display + run: | + Xvfb :99 -screen 0 1024x768x24 & + sleep 3 + touch ~/.Xauthority + xauth add :99 . $(xxd -l 16 -p /dev/urandom) + echo "DISPLAY=:99" >> $GITHUB_ENV + - name: Launch local doctool uses: ./doctool id: launch-doctool diff --git a/.github/workflows/starter.yml b/.github/workflows/starter.yml index d73a836..149534c 100644 --- a/.github/workflows/starter.yml +++ b/.github/workflows/starter.yml @@ -131,7 +131,7 @@ jobs: call-generate-readme-workflow: if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' - uses: Keyfactor/actions/.github/workflows/generate-readme.yml@v3 + uses: Keyfactor/actions/.github/workflows/generate-readme.yml@3.2.0-rc.5 secrets: token: ${{ secrets.token }}