-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 1.13 KB
/
upgrade_stable.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Upgrade sofrware stable
on:
schedule:
# Every hour
- cron: '0 * * * *'
push:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v3
- uses: cachix/install-nix-action@master
with:
nix_path: nixpkgs=channel:nixos-unstable
install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.14.0pre20230127_ccaadc9/install
extra_nix_config: |
experimental-features = nix-command flakes
substituters = https://attic.indexyz.me/indexyz https://indexyz.cachix.org https://cache.nixos.org/
trusted-public-keys = indexyz:XxexOMK+bHXR2slT4A9wnJg00EZFXCUYqlUhlEEGQEc= indexyz.cachix.org-1:biBEnuZ4vTSsVMr8anZls+Lukq8w4zTHAK8/p+fdaJQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
extra-platforms = aarch64-linux
- name: Check Package
run: |
git config --global user.email github-actions[bot]@users.noreply.github.com
git config --global user.name github-actions[bot]
nix develop -c -- bash update.bash
git push