From 8a067632a097b2ad645fa58bf0a464a75afce575 Mon Sep 17 00:00:00 2001 From: Etienne Dechamps Date: Sun, 26 May 2024 09:56:52 +0100 Subject: [PATCH] Screenshot v2 --- .github/workflows/continuous-integration.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d61dd14..f4fa58a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -11,12 +11,14 @@ jobs: - shell: powershell run: Import-Certificate -FilePath Scream\Install\driver\x64\Scream.cat -CertStoreLocation Cert:\LocalMachine\TrustedPublisher - shell: powershell - run: Scream\Install\helpers\devcon-x64.exe install Scream\Install\driver\x64\Scream.inf *Scream + run: Install-Module -Name PShot -AcceptLicense -Force + - shell: powershell + run: | + Import-Module -Name PShot + Start-Job { Get-PShot -Directory . -Delay 30 } + Scream\Install\helpers\devcon-x64.exe install Scream\Install\driver\x64\Scream.inf *Scream continue-on-error: true - timeout-minutes: 2 - - uses: OrbitalOwen/desktop-screenshot-action@0.1 - with: - file-name: 'desktop.jpg' + timeout-minutes: 1 - uses: actions/upload-artifact@v2 with: - path: 'desktop.jpg' + path: 'PShot*'