Skip to content

Build derivations with updated inputs #2296

Build derivations with updated inputs

Build derivations with updated inputs #2296

Workflow file for this run

name: "Build derivations with updated inputs"
on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v4
- uses: cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be # v14
with:
name: chuahou
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# Free up disk space. Based on jlumbroso/free-disk-space, and:
# https://github.com/actions/runner-images/issues/2840
# https://github.com/actions/runner-images/issues/2875
- run: df -h /
- run: |
sudo rm -rf \
/usr/local/lib/android \
/usr/share/dotnet \
/opt/ghc /usr/local/.ghcup \
/usr/local/share/boost \
"$AGENT_TOOLSDIRECTORY"
sudo apt-get purge --auto-remove -y --fix-missing \
'^aspnetcore-.*' \
'^dotnet-.*' \
'^llvm-.*' \
'php.*' \
'^mongodb-.*' \
'^mysql-.*' \
azure-cli google-chrome-stable firefox powershell mono-devel \
libgl1-mesa-dri google-cloud-cli
sudo docker system prune -af
- run: df -h /
- run: nix flake update
- run: scripts/ci.sh
- run: df -h /