ci: rely on the runner image for the Android SDK

Drops the setup-android step from the release job and gates the swapfile
resize, which needs a hosted runner image and passwordless sudo.
This commit is contained in:
2026-08-04 11:04:07 +02:00
parent 0fcd7bcfce
commit cedd070bfe
2 changed files with 11 additions and 12 deletions
+3
View File
@@ -48,6 +48,9 @@ jobs:
# Increase swapfile size to prevent screenshot tests getting terminated
# https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749
- name: 💽 Increase swapfile size
# /mnt/swapfile is a GitHub runner-image path and this needs passwordless sudo,
# so it only applies to the hosted VMs.
if: runner.environment == 'github-hosted'
run: |
sudo swapoff -a
sudo fallocate -l 8G /mnt/swapfile