0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-24 14:34:39 +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 - name: Install nix
uses: cachix/install-nix-action@v22 uses: cachix/install-nix-action@v22
- name: Build - uses: cachix/cachix-action@v12
run: sh ./.github/workflows/build.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with: with:
path: ./result/* name: yandexmisic
name: nix-package 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 { packages = rec {
yandexmusic = yandexmusic-with pkgs; yandexmusic = yandexmusic-with pkgs;
yandexmusic-backgroud = yandexmusic.override { yandexmusic-background = yandexmusic.override {
fixQuit = false; fixQuit = false;
}; };
yandexmusic-noflakes = pkgs.callPackage ./nix {}; yandexmusic-noflakes = pkgs.callPackage ./nix {};