Essai uploads

This commit is contained in:
Matthieu Dubuget 2021-05-24 14:45:18 +02:00 committed by GitHub
parent 469c836ea0
commit 8cfbfb6274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: os:
- macos-latest
- ubuntu-latest - ubuntu-latest
- windows-latest - windows-latest
ocaml-compiler: ocaml-compiler:
@ -31,3 +30,22 @@ jobs:
- run: opam install . --deps-only - run: opam install . --deps-only
- run: opam exec -- dune build - run: opam exec -- dune build
- name: Upload a Windows Build Artifact
uses: actions/upload-artifact@v2.2.3
if: runner.os == 'Windows'
with:
name: nbr-win32.exe
# A file, directory or wildcard pattern that describes what to upload
path: _build/install/default/bin/nbr.exe
retention-days: 1
- name: Upload a Linux Build Artifact
uses: actions/upload-artifact@v2.2.3
if: runner.os == 'Linux'
with:
name: nbr-linux.exe
# A file, directory or wildcard pattern that describes what to upload
path: _build/install/default/bin/nbr.exe
retention-days: 1