4 Commits
2 changed files with 32 additions and 3 deletions
@@ -0,0 +1,29 @@
name: Build (nix)
on:
workflow_run:
workflows:
- Update flake lock
types:
- completed
permissions:
contents: read
jobs:
build:
if: ${{ gitea.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
# The update workflow may have pushed a newer flake.lock commit.
ref: ${{ gitea.event.workflow_run.head_branch }}
- name: Install upstream Nix
uses: cachix/install-nix-action@v31
- name: Build flake
run: nix build
Generated
+3 -3
View File
@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1787900134, "lastModified": 1788614874,
"narHash": "sha256-VYXO0XZlgj06dxJZRhrD3WoSsvq/c7+/Akyoa22pefw=", "narHash": "sha256-7QYjT2vHLuX9Z1pdxHXDKCbh1CR3D/2rywB9Tx0MPRg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "83199d0d373dd3ac2b9a1996b1d0263f76ab7a4c", "rev": "c043004d1c6985732bcc1cbc5a9c9aecbbb4e0f0",
"type": "github" "type": "github"
}, },
"original": { "original": {