diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 26768376..4ff700c2 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -42,14 +42,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use OCaml ${{ matrix.ocaml-version }} - uses: avsm/setup-ocaml@v1 + uses: ocaml/setup-ocaml@v3 with: - ocaml-version: ${{ matrix.ocaml-version }} - - - run: opam pin add mldonkey.dev . --no-action + ocaml-compiler: ${{ matrix.ocaml-version }} - run: opam depext mldonkey --yes --with-doc --with-test @@ -58,3 +56,10 @@ jobs: - run: opam exec -- ./configure --enable-debug - run: opam exec -- make + + - name: Upload the build artifact + uses: actions/upload-artifact@v4 + with: + ocaml-compiler: 4.14.1 + name: mlnet-${{ matrix.os }}.exe + path: mlnet