Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fkorotkov authored Jul 18, 2024
1 parent 977ee6a commit 9a5a219
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
matrix:
runner: ["ghcr.io/cirruslabs/macos-runner:sonoma", "macos-14"]
runs-on: ${{ matrix.runner }}

steps:
- uses: actions/checkout@v4
- name: Uptime
Expand All @@ -26,3 +27,15 @@ jobs:
run: brew install switchaudio-osx
- name: switchaudio-osx
run: SwitchAudioSource -a
- name: Play a sound
timeout-minutes: 3
run: |
(sleep 10; screencapture debugscreen_${{ matrix.runner }}.png) &
afplay /System/Library/Sounds/Funk.aiff
sleep 20
- name: Publish debug screenshot
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: debugscreen_${{ matrix.runner }}.png
path: debugscreen_${{ matrix.runner }}.png

0 comments on commit 9a5a219

Please sign in to comment.