0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

Add fixes to nix workflow

Previous workflow actually did not check nix build.

Change-Id: I4a9fc3c8a7fcf17aec1328fcc5f340061ac86468
This commit is contained in:
Yury Shvedov 2024-02-04 11:29:51 +03:00
parent 19d5878ccc
commit 4d7f1cf6ff
2 changed files with 13 additions and 11 deletions

View File

@ -57,12 +57,14 @@ jobs:
- name: Install nix
uses: cachix/install-nix-action@v22
- name: Build
run: sh ./.github/workflows/build.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
- uses: cachix/cachix-action@v12
with:
path: ./result/*
name: nix-package
name: yandexmisic
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build yandexmusic
run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure .#yandexmusic
- name: Build yandexmusic background
run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure .#yandexmusic-background
- name: Build yandexmusic without flakes binaries
run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure .#yandexmusic-noflakes

View File

@ -18,7 +18,7 @@
{
packages = rec {
yandexmusic = yandexmusic-with pkgs;
yandexmusic-backgroud = yandexmusic.override {
yandexmusic-background = yandexmusic.override {
fixQuit = false;
};
yandexmusic-noflakes = pkgs.callPackage ./nix {};