Skip to content

Commit

Permalink
use ubuntu image in screenshot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrejb committed Sep 8, 2024
1 parent be62dbb commit 5bf3ad1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/take_screenshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
build:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Expand All @@ -29,15 +29,10 @@ jobs:
- name: Build
run: cargo build --release --features selfie

- name: Hide Dock
run: defaults write com.apple.dock autohide -bool true && killall Dock

- name: Run and take screenshot
run: |
cargo run --release --features selfie > cargo.log 2>&1 &
sleep 5
screencapture fullscreen.png
- name: Commit and push screenshot
run: |
Expand All @@ -53,4 +48,3 @@ jobs:
name: screenshot
path: |
screenshot.png
fullscreen.png

0 comments on commit 5bf3ad1

Please sign in to comment.