mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user