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:
parent
b235da76bd
commit
709af84967
7
.github/workflows/build.sh
vendored
7
.github/workflows/build.sh
vendored
@ -42,9 +42,10 @@ case $OS in
|
|||||||
mkdir dist
|
mkdir dist
|
||||||
mv *.pkg.tar.zst dist
|
mv *.pkg.tar.zst dist
|
||||||
;;
|
;;
|
||||||
"NixOS")
|
# "NixOS")
|
||||||
# TODO
|
# echo NixOS
|
||||||
;;
|
# nix build
|
||||||
|
# ;;
|
||||||
*)
|
*)
|
||||||
echo "Operating system is not recognized."
|
echo "Operating system is not recognized."
|
||||||
;;
|
;;
|
||||||
|
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -29,4 +29,20 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
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/*
|
Loading…
Reference in New Issue
Block a user