Skip to content

Commit

Permalink
remove uneeded stuff from github workflow to make more space
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaykarle committed Oct 17, 2024
1 parent 4f2ed4d commit 73870dc
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test
name: Test

on:
push:
Expand All @@ -15,6 +15,30 @@ jobs:
id-token: "write"
contents: "read"
steps:
- name: Remove software and languages
shell: bash
run: |
sudo rm -rf \
"$AGENT_TOOLSDIRECTORY" \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/usr/lib/mono \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/node_modules \
/usr/local/share/chromium \
/usr/local/share/powershell \
/usr/share/dotnet \
/usr/share/swift
df -h /
- name: Remove old xcode versions
run: |
echo 'Searching for Xcode versions:'
find /Applications -name "Xcode*" -maxdepth 1 -mindepth 1
echo "Removing old Xcode versions..."
find /Applications -name "Xcode*" | sort -r | tail --lines=+2 | xargs rm -rf
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
Expand Down

0 comments on commit 73870dc

Please sign in to comment.