2022-08-22 15:56:44 -07:00
|
|
|
name: update-sources
|
|
|
|
on:
|
|
|
|
schedule:
|
2022-08-23 09:26:00 -07:00
|
|
|
- cron: '0 */12 * * *'
|
2022-08-22 15:56:44 -07:00
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
|
|
update-sources:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-18 05:38:10 +00:00
|
|
|
- uses: actions/checkout@v4.1.1
|
2024-01-15 05:06:58 +00:00
|
|
|
- uses: cachix/install-nix-action@v25
|
2022-08-22 15:56:44 -07:00
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- run: ./update
|
|
|
|
- run: "git config user.email mitchellh@users.noreply.github.com"
|
|
|
|
- run: "git config user.name zig-overlay"
|
|
|
|
- run: "git add -A"
|
|
|
|
- run: "git commit -m 'update sources.json' | true"
|
|
|
|
- run: "git push -u origin main"
|
|
|
|
|