srcs flakes #31162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: srcs flakes | |
on: | |
push: | |
schedule: | |
- cron: '0 * * * *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: src | |
fetch-depth: 0 | |
- uses: cachix/install-nix-action@v26 | |
with: | |
nix_path: nixpkgs=https://github.com/eadwu/nixpkgs/archive/develop.tar.gz | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- name: Setup config | |
run: | | |
mkdir -p ~/.config/nix | |
git config user.name actions | |
git config user.email "[email protected]" | |
- name: Run update script | |
run: | | |
./update.sh | |
git push origin src |