From 354c7c38bde59c83c8f3788c9cf8d1f8ea1d28be Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Sun, 28 Sep 2025 16:04:40 -0600 Subject: [PATCH] Update weekly build workflow: change schedule to run Mondays and Fridays at 09:30 UTC, remove emacs-vm build step, and adjust success message accordingly. --- .github/workflows/weekly-build-cache.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/weekly-build-cache.yml b/.github/workflows/weekly-build-cache.yml index e4365b2..9a437e3 100644 --- a/.github/workflows/weekly-build-cache.yml +++ b/.github/workflows/weekly-build-cache.yml @@ -2,8 +2,7 @@ name: Weekly NixOS Build & Cache on: schedule: - # Run every Sunday at 2 AM UTC - - cron: "0 2 * * 0" + - cron: "30 09 * * 1,5" workflow_dispatch: # Allow manual trigger jobs: @@ -53,12 +52,6 @@ jobs: echo "Building server configuration..." nix build .#nixosConfigurations.server.config.system.build.toplevel --quiet - - name: Build emacs-vm - if: steps.check_changes.outputs.changes == 'true' - run: | - echo "Building emacs-vm..." - nix build .#emacs-vm --quiet - - name: Push to cache if: steps.check_changes.outputs.changes == 'true' run: | @@ -71,7 +64,6 @@ jobs: # Push the specific system derivations we just built nix build .#nixosConfigurations.workstation.config.system.build.toplevel --print-out-paths | attic push servidos:nixos --stdin nix build .#nixosConfigurations.server.config.system.build.toplevel --print-out-paths | attic push servidos:nixos --stdin - nix build .#emacs-vm --print-out-paths | attic push servidos:nixos --stdin - name: Commit updated flake.lock if: steps.check_changes.outputs.changes == 'true' @@ -92,7 +84,7 @@ jobs: if [[ "${{ steps.check_changes.outputs.changes }}" == "true" ]]; then echo "✅ Weekly build completed successfully!" echo "- Updated flake.lock" - echo "- Built workstation, server, and emacs-vm configurations" + echo "- Built workstation and server configurations" echo "- Pushed builds to Atticd cache" echo "- Committed changes and created release tag" else