fuck it
This commit is contained in:
parent
e86ca773b8
commit
0922222149
26
.github/workflows/weekly-build-cache.yml
vendored
26
.github/workflows/weekly-build-cache.yml
vendored
@ -20,20 +20,20 @@ jobs:
|
||||
git config user.name "NixOS Builder Bot"
|
||||
git config user.email "noreply@servidos.lat"
|
||||
|
||||
# - name: Update flake inputs
|
||||
# run: |
|
||||
# nix flake update
|
||||
- name: Update flake inputs
|
||||
run: |
|
||||
nix flake update
|
||||
|
||||
# - name: Check for changes
|
||||
# id: check_changes
|
||||
# run: |
|
||||
# if git diff --quiet flake.lock; then
|
||||
# echo "changes=false" >> $GITHUB_OUTPUT
|
||||
# echo "No changes in flake.lock"
|
||||
# else
|
||||
# echo "changes=true" >> $GITHUB_OUTPUT
|
||||
# echo "Changes detected in flake.lock"
|
||||
# fi
|
||||
- name: Check for changes
|
||||
id: check_changes
|
||||
run: |
|
||||
if git diff --quiet flake.lock; then
|
||||
echo "changes=false" >> $GITHUB_OUTPUT
|
||||
echo "No changes in flake.lock"
|
||||
else
|
||||
echo "changes=true" >> $GITHUB_OUTPUT
|
||||
echo "Changes detected in flake.lock"
|
||||
fi
|
||||
|
||||
- name: Configure Attic cache
|
||||
if: steps.check_changes.outputs.changes == 'true'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user