-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (37 loc) · 1.15 KB
/
buffered-nixpkgs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
on:
workflow_dispatch:
schedule:
- cron: "30 5 * * 2"
jobs:
rolling:
name: Buffered mirror of branch ${{ matrix.repo }}#${{ matrix.branch }}
strategy:
fail-fast: false
matrix:
include:
- name: DeterminateSystems/nixpkgs-weekly
repo: NixOS/nixpkgs
branch: nixpkgs-unstable
runs-on: ubuntu-latest
permissions:
contents: write # In order to upload artifacts to GitHub releases
id-token: write # In order to request a JWT for AWS auth
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ matrix.repo }}
ref: ${{ matrix.branch }}
- name: Release to FlakeHub
uses: DeterminateSystems/flakehub-push@main
with:
name: ${{ matrix.name }}
mirror: true
visibility: public
repository: ${{ matrix.repo }}
rolling: true
rolling-minor: ${{ matrix.rolling-minor }}
log-directives: flakehub_push=trace
logger: pretty