update-sources #1685
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: update-sources | |
on: | |
schedule: | |
- cron: '0 */12 * * *' | |
workflow_dispatch: | |
jobs: | |
update-sources: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: cachix/install-nix-action@V27 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: ./update | |
- run: "git config user.email [email protected]" | |
- 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" | |