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:
parent
19d5878ccc
commit
4d7f1cf6ff
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ./dist/*.pkg.tar.zst
|
path: ./dist/*.pkg.tar.zst
|
||||||
name: arch-packages
|
name: arch-packages
|
||||||
|
|
||||||
- name: Upload Deb artifact
|
- name: Upload Deb artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -53,16 +53,18 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ (inputs.ref || '') }}
|
ref: ${{ (inputs.ref || '') }}
|
||||||
|
|
||||||
- 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
|
||||||
|
|
||||||
|
@ -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 {};
|
||||||
|
Loading…
Reference in New Issue
Block a user