Skip to content

Take screenshot

Take screenshot #77

on: [push, pull_request]
jobs:
test-scream:
runs-on: windows-latest
steps:
- run: net start audiosrv
- shell: powershell
run: Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/4.0/Scream4.0.zip -OutFile Scream4.0.zip
- shell: powershell
run: Expand-Archive -Path Scream4.0.zip -DestinationPath Scream
- 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
continue-on-error: true
timeout-minutes: 2
- uses: OrbitalOwen/[email protected]
with:
file-name: 'desktop.jpg'
- uses: actions/upload-artifact@v2
with:
name: 'desktop.jpg'