mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-10 07:10:45 +00:00
24 lines
580 B
YAML
24 lines
580 B
YAML
name: "Push Binary Cache for Nix"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: nixbuild/nix-quick-install-action@v19
|
|
with:
|
|
nix_conf: experimental-features = nix-command flakes
|
|
- uses: cachix/cachix-action@v11
|
|
with:
|
|
name: xplr
|
|
authtoken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
- run: nix profile install .
|
|
- name: Run tests
|
|
run: |
|
|
xplr --version
|