0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-03-13 22:03:43 +03:00

add nix build

This commit is contained in:
Maxim Slipenko 2024-02-01 00:07:07 +03:00
parent b235da76bd
commit 709af84967
2 changed files with 21 additions and 4 deletions

View File

@ -42,9 +42,10 @@ case $OS in
mkdir dist
mv *.pkg.tar.zst dist
;;
"NixOS")
# TODO
;;
# "NixOS")
# echo NixOS
# nix build
# ;;
*)
echo "Operating system is not recognized."
;;

View File

@ -29,4 +29,20 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: ./dist/*
path: ./dist/*
nix-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v22
- name: Build
run: nix build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: ./result/*