From cb077131b20a0eeab7cc26054b71fa09402c8afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Wed, 27 Nov 2024 14:37:59 +0100 Subject: [PATCH] fix pre-release syntax --- .github/workflows/pre-release.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index da9352e4..d1a241d7 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -37,26 +37,23 @@ jobs: with: nix_path: nixpkgs=channel:nixos-24.05 enable_kvm: true - extra_nix_config: "experimental-features = nix-command flakes" + extra_nix_config: experimental-features = nix-command flakes - name: Cache Nix store uses: cachix/cachix-action@v15 with: name: soywod - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} extraPullNames: nix-community - name: Build release - run: | - nix build .#cross-${{ matrix.target }} + run: nix build .#cross-${{ matrix.target }} - name: Upload release uses: actions/upload-artifact@v4 with: - name: "himalaya-${{ matrix.target }}" - path: | - result/bin/himalaya* + name: himalaya-${{ matrix.target }} + path: result/bin/himalaya* - name: Upload share folder uses: actions/upload-artifact@v4 - if: matrix.target == "x86_64-linux" + if: ${{ matrix.target == 'x86_64-linux' }} with: - name: "share" - path: | - result/share + name: share + path: result/share