Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrek committed Jul 29, 2024
1 parent 06f7765 commit 157dc97
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 157dc97

Please sign in to comment.