Skip to content

Commit

Permalink
Update take-screenshots.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-b authored Jun 21, 2024
1 parent a961ffc commit dc7bc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/take-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
DEVICE_ID=$(flutter devices | grep -oP '(?<=• )[\w-]+(?=\s+•)')
echo "Using device ID: $DEVICE_ID"
xvfb-run -s "-screen 0 360x800x24" flutter drive --target="./test_driver/screenshot.dart" -d "$DEVICE_ID"
xvfb-run -s "-screen 0 360x800x24" flutter drive --target="./test_driver/screenshot.dart" -d emulator-5554
mkdir -p ../screenshots # Create the screenshots directory in the parent directory
cp build/screenshots/*.png ../screenshots/ # Copy screenshots to the parent directory
Expand Down

0 comments on commit dc7bc7d

Please sign in to comment.