Skip to content

Switch to NixOS 24.11 and port Bash scripts to Nushell #84

Switch to NixOS 24.11 and port Bash scripts to Nushell

Switch to NixOS 24.11 and port Bash scripts to Nushell #84

Workflow file for this run

name: Build ATtiny85
"on":
pull_request:
branches: ["main"]
paths:
- '*.nix'
- .github/workflows/build-attiny85.yaml
- .justfile
- boards/attiny85/.cargo/**
- boards/attiny85/avr-unknown-none-attiny85.json
- boards/attiny85/Cargo.lock
- boards/attiny85/Cargo.toml
- boards/attiny85/**.nix
- boards/attiny85/rust-toolchain.toml
- boards/attiny85/src/**
- flake.lock
push:
branches: ["main"]
paths:
- '*.nix'
- .github/workflows/build-attiny85.yaml
- .justfile
- boards/attiny85/.cargo/**
- boards/attiny85/avr-unknown-none-attiny85.json
- boards/attiny85/Cargo.lock
- boards/attiny85/Cargo.toml
- boards/attiny85/**.nix
- boards/attiny85/rust-toolchain.toml
- boards/attiny85/src/**
- flake.lock
workflow_dispatch:
jobs:
build-attiny85:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Build
run: nix build .#attiny85
- name: Upload firmware
uses: actions/upload-artifact@v4
with:
name: pwm-fan-controller-attiny85
path: |
result/bin/pwm-fan-controller-attiny85.elf
result/bin/pwm-fan-controller-attiny85.hex