6.NUR/.github/workflows/update.yml
dependabot[bot] 53d3e9ff90 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 07:54:07 +00:00

39 lines
1 KiB
YAML

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@v22
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@v22
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 }}'