From a4e0066d7a2e9c7f9fb71ba7e48e42a4f9f1d189 Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Thu, 7 Mar 2024 09:58:30 -0800 Subject: [PATCH] WIP: Github Actions install Nix --- .github/workflows/gradle.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 0ee8cf2..e442c5a 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -26,5 +26,11 @@ jobs: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} restore-keys: ${{ runner.os }}-gradle + - name: Install Nix + uses: cachix/install-nix-action@v25 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + - name: Install secp256k1 with Nix + run: nix profile install nixpkgs#secp256k1 - name: Build with Gradle run: ./gradlew build -x test # Skip tests because they will fail without libsecp256k1 installed.