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.
This commit is contained in:
parent
50b20197b8
commit
354c7c38bd
12
.github/workflows/weekly-build-cache.yml
vendored
12
.github/workflows/weekly-build-cache.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user