From 52dbfdf205598f91bd1a22adf87327a4fe66e89b Mon Sep 17 00:00:00 2001 From: Murphy Randle Date: Fri, 26 Apr 2024 17:03:43 -0400 Subject: [PATCH] Update the PPX push action with fixed command --- .github/workflows/ppx-push.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ppx-push.yaml b/.github/workflows/ppx-push.yaml index 83cb5c3..f52552a 100644 --- a/.github/workflows/ppx-push.yaml +++ b/.github/workflows/ppx-push.yaml @@ -27,10 +27,13 @@ jobs: uses: avsm/setup-ocaml@v1 with: ocaml-version: 4.12.1 # replace with your desired version - - name: Install Dune - run: opam install dune - - name: Run Build - run: yarn build-ppx + - name: Install OCaml Dependencies and build + run: | + cd ppx_src + opam install dune + eval $(opam env) + opam install -y . --deps-only + dune build - name: Upload Build Mac / Linux if: ${{ matrix.os != 'windows-latest' }} uses: actions/upload-artifact@v2