27 lines
622 B
YAML
27 lines
622 B
YAML
name: build
|
|
on:
|
|
workflow_dispatch: # allows manual triggering
|
|
push:
|
|
branches:
|
|
- master
|
|
- update_flake_lock_action
|
|
|
|
jobs:
|
|
build-thinkpad:
|
|
if: ${{ always() }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: cachix/install-nix-action@v19
|
|
with:
|
|
extra_nix_config: |
|
|
accept-flake-config = true
|
|
|
|
- uses: cachix/cachix-action@v12
|
|
with:
|
|
name: aciceri-emacs
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- run: nix --print-build-logs --verbose build
|