1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05:00

rename backend to core

This commit is contained in:
bbedward
2025-11-12 23:12:31 -05:00
parent 0fdc0748cf
commit db584b7897
280 changed files with 265 additions and 265 deletions

View File

@@ -3,8 +3,8 @@ name: Update Vendor Hash
on:
push:
paths:
- "backend/go.mod"
- "backend/go.sum"
- "core/go.mod"
- "core/go.sum"
branches:
- NOOP
@@ -20,13 +20,13 @@ jobs:
- name: Install Nix
uses: cachix/install-nix-action@v31
- name: Update vendorHash in backend/flake.nix
- name: Update vendorHash in core/flake.nix
run: |
set -euo pipefail
# Try to build and capture the expected hash from error message
echo "Attempting nix build to get new vendorHash..."
cd backend
cd core
if output=$(nix build .#dms-cli 2>&1); then
echo "Build succeeded, no hash update needed"
exit 0
@@ -66,11 +66,11 @@ jobs:
run: |
set -euo pipefail
if ! git diff --quiet backend/flake.nix; then
if ! git diff --quiet core/flake.nix; then
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add backend/flake.nix
git add core/flake.nix
git commit -m "flake: update vendorHash for go.mod changes"
for attempt in 1 2 3; do
@@ -86,5 +86,5 @@ jobs:
echo "Failed to push after retries" >&2
exit 1
else
echo "No changes to backend/flake.nix"
echo "No changes to core/flake.nix"
fi