Skip to content

Commit

Permalink
chore: use pre-defined nix action
Browse files Browse the repository at this point in the history
  • Loading branch information
kobyhallx committed Oct 5, 2023
1 parent 5ea5d6d commit 64d92b5
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/publish-es-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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

Expand Down

0 comments on commit 64d92b5

Please sign in to comment.