mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 20:09:59 +03:00
update cachix and disable magic nix-cache
magic nix cache seems to hang forever.
This commit is contained in:
28
.github/workflows/cachix.yml
vendored
28
.github/workflows/cachix.yml
vendored
@@ -1,6 +1,12 @@
|
|||||||
name: Binary Cache
|
name: Nix Binary Cache
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
pull_request:
|
||||||
|
branches: ["main"]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
on: [push, pull_request, workflow_dispatch]
|
|
||||||
jobs:
|
jobs:
|
||||||
nix:
|
nix:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -8,7 +14,7 @@ jobs:
|
|||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- macos-15-intel
|
- macos-15-intel
|
||||||
- macos-14
|
- macos-latest
|
||||||
name: "Build"
|
name: "Build"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@@ -17,14 +23,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
# - uses: DeterminateSystems/nix-installer-action@main
|
||||||
with:
|
# with:
|
||||||
logger: pretty
|
# logger: pretty
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
# - uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
- uses: cachix/cachix-action@v14
|
- uses: cachix/install-nix-action@v31
|
||||||
|
- uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
name: lan-mouse
|
name: lan-mouse
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
|
||||||
- name: Build lan-mouse (x86_64-linux)
|
- name: Build lan-mouse (x86_64-linux)
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
@@ -35,6 +42,5 @@ jobs:
|
|||||||
run: nix build --print-build-logs --show-trace .#packages.x86_64-darwin.lan-mouse
|
run: nix build --print-build-logs --show-trace .#packages.x86_64-darwin.lan-mouse
|
||||||
|
|
||||||
- name: Build lan-mouse (aarch64-darwin)
|
- name: Build lan-mouse (aarch64-darwin)
|
||||||
if: matrix.os == 'macos-14'
|
if: matrix.os == 'macos-latest'
|
||||||
run: nix build --print-build-logs --show-trace .#packages.aarch64-darwin.lan-mouse
|
run: nix build --print-build-logs --show-trace .#packages.aarch64-darwin.lan-mouse
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user