Skip to content

Commit

Permalink
ci: free disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Aug 12, 2024
1 parent 043da1d commit e05f3a3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,25 +109,59 @@ jobs:
ninja-build
sudo apt clean
- name: check space
run: df -h

- name: Install vcpkg packages
run: |
vcpkg install --clean-after-build curl:x86-android openssl:x86-android
vcpkg install --clean-after-build curl:x64-android openssl:x64-android
vcpkg install --clean-after-build curl:arm-neon-android openssl:arm-neon-android
vcpkg install --clean-after-build curl:arm64-android openssl:arm64-android
- name: check space
run: df -h

- name: Free Disk Space
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: false
dotnet: true
haskell: true
large-packages: false
docker-images: false
swap-storage: false

- name: check space
run: df -h

- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}

- name: check space
run: df -h

- name: Install
run: npm ci

- name: check space
run: df -h

- name: Build preview (.apk)
run: npm -w @pikatorrent/app run build:android:preview

- name: check space
run: df -h

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit e05f3a3

Please sign in to comment.