Skip to content

Automated submission of OPAM package on release #8

Automated submission of OPAM package on release

Automated submission of OPAM package on release #8

Workflow file for this run

on:
pull_request:
release:
types:
- created
jobs:
publish:
strategy:
matrix:
os: [ubuntu-latest]
ocaml-compiler: [4.14.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: avsm/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- name: Install opam-publish
run: opam install -y -j 2 opam-publish
- name: Publish
#if: success() && startsWith(github.ref, 'refs/tags/')
run: |
eval $(opam env)
opam publish --help
opam publish --no-browser