Update #94821
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" | |
on: | |
workflow_dispatch: | |
schedule: | |
# chosen by fair dice rolling | |
- cron: '40 * * * *' | |
push: | |
branches: | |
- master | |
jobs: | |
update_nur: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- name: update nur / nur-combined | |
run: ./ci/update-nur.sh | |
env: | |
API_TOKEN_GITHUB: '${{ secrets.API_TOKEN_GITHUB }}' | |
update_search: | |
runs-on: ubuntu-latest | |
needs: update_nur | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- name: update nur-search/data/packages.json | |
run: ./ci/update-nur-search.sh | |
env: | |
API_TOKEN_GITHUB: '${{ secrets.API_TOKEN_GITHUB }}' |