From 64d92b5f3c907bd5e5de24a2135d85e229ecaa1a Mon Sep 17 00:00:00 2001 From: Koby Date: Thu, 5 Oct 2023 12:59:00 +0200 Subject: [PATCH] chore: use pre-defined nix action --- .github/workflows/publish-es-packages.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/publish-es-packages.yml b/.github/workflows/publish-es-packages.yml index 23673504383..1eb49d8833a 100644 --- a/.github/workflows/publish-es-packages.yml +++ b/.github/workflows/publish-es-packages.yml @@ -13,16 +13,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: Setup Nix - uses: cachix/install-nix-action@v22 - with: - nix_path: nixpkgs=channel:nixos-23.05 - github_access_token: ${{ secrets.GITHUB_TOKEN }} - - - uses: cachix/cachix-action@v12 - with: - name: barretenberg - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + - name: Install Yarn dependencies + uses: ./.github/actions/nix - name: Build wasm package run: | @@ -35,16 +27,6 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v22 - with: - nix_path: nixpkgs=channel:nixos-23.05 - github_access_token: ${{ secrets.GITHUB_TOKEN }} - - - uses: cachix/cachix-action@v12 - with: - name: barretenberg - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - name: Install Yarn dependencies run: yarn install