Compare commits
2 Commits
42d94876d8
...
6221984a29
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6221984a29 | ||
|
|
287bcfea8e |
0
.beads/.sync.lock
Normal file
0
.beads/.sync.lock
Normal file
@@ -2,7 +2,7 @@ name: Update Nix Packages with nix-update
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '@weekly'
|
||||
- cron: '0 2 * * *'
|
||||
workflow_dispatch: # Allow manual triggering
|
||||
inputs:
|
||||
package:
|
||||
@@ -18,7 +18,7 @@ env:
|
||||
|
||||
jobs:
|
||||
nix-update:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: nixos
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@@ -26,21 +26,6 @@ jobs:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.NIX_UPDATE_TOKEN }}
|
||||
|
||||
- name: Install Nix
|
||||
uses: https://github.com/cachix/install-nix-action@v31
|
||||
with:
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
sandbox = false
|
||||
|
||||
- name: Configure Nix
|
||||
run: |
|
||||
mkdir -p ~/.config/nix
|
||||
cat >> ~/.config/nix/nix.conf << EOF
|
||||
experimental-features = nix-command flakes
|
||||
sandbox = false
|
||||
EOF
|
||||
|
||||
- name: Check for available packages to update
|
||||
id: check-packages
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user