Skip to content

nixcfg bump based on 69d9d40e185b18977d83755713db82a1af0ac1f7 #4

nixcfg bump based on 69d9d40e185b18977d83755713db82a1af0ac1f7

nixcfg bump based on 69d9d40e185b18977d83755713db82a1af0ac1f7 #4

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Send a bump PR and test eval
run-name: "nixcfg bump based on ${{ github.sha }}"
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
concurrency:
group: prebuild
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
name: "nixcfg bump from commit ${{ github.sha }}"
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Setup kitchen
uses: lucasew/action-i-only-care-about-nix@main
- name: Get ingredients
uses: actions/checkout@v2
- name: Prepare for the stove
run: |
sudo mkdir -p /nix/build
df -h
- name: Install the stove
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
build-dir = /nix/build
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v10
with:
name: lucasew-personal
authToken: '${{ secrets.CACHIX_TOKEN }}'
- name: Bump
run: nix flake update
- name: Cook
run: |
{ while true; do df -h; uptime; sleep 60; done } &
nix build .#release --keep-going
- uses: actions/upload-artifact@v4
with:
name: build-logs
path: /nix/var/log/nix/drvs
include-hidden-files: true
- name: Serve
uses: peter-evans/create-pull-request@v4
with:
title: "The flake bump is ready"
body: |
I updated your flake and built all the stuff to the binary cache.
Apply when you want, or don't apply, I don't mind. I am not Microsoft
Windows that forces you to do what you don't want to.
branch: bump-and-cook
commit-message: bump
author: "A helpful machine <[email protected]>"
committer: "A helpful machine <[email protected]>"
delete-branch: true
reviewers: |
lucasew