6.NUR/.github/workflows/update.yml
dependabot[bot] cb0620e202
Bump cachix/install-nix-action from 15 to 16
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 07:02:14 +00:00

39 lines
1 KiB
YAML

name: "Test"
on:
workflow_dispatch:
schedule:
# chosen by fair dice rolling
- cron: '05 4 * * *'
push:
branches:
- master
jobs:
update_nur:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- uses: cachix/install-nix-action@v16
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@v2
- uses: cachix/install-nix-action@v16
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 }}'