diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e216ab3..bc711e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: with: path: ./dist/*.pkg.tar.zst name: arch-packages - + - name: Upload Deb artifact uses: actions/upload-artifact@v4 with: @@ -53,16 +53,18 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ (inputs.ref || '') }} - + - 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 - \ No newline at end of file + 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 + diff --git a/flake.nix b/flake.nix index e29165b..9357f45 100644 --- a/flake.nix +++ b/flake.nix @@ -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 {};