Merge pull request #2 from grumlimited/static #2
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 nix config | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
nix: | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- uses: cachix/install-nix-action@v27 | ||
with: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
- run: | | ||
export WORKSPACE="${PWD}" | ||
nix run .#upgrade-nix-gohip | ||
git config --global user.name 'autobot' | ||
git config --global user.email '[email protected]' | ||
git commit -am "[skip ci] Automated nix hash update" | ||
git push |