Skip to content

Commit

Permalink
Add docker cache and save disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeicor committed Jun 2, 2024
1 parent 7492b18 commit cbcd8d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ jobs:
- uses: "actions/checkout@v4"
with:
lfs: "true"
- uses: "ScribeMD/[email protected]"
with:
key: "docker-${{ runner.os }}-${{ hashFiles('docker/Dockerfile', 'docker/Dockerfile.c2w') }}"
- run: | # Save disk space to be able to build
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
# Build
- run: "./build.sh"
Expand Down

0 comments on commit cbcd8d9

Please sign in to comment.