Skip to content

Automated submission of OPAM package on release #12

Automated submission of OPAM package on release

Automated submission of OPAM package on release #12

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 # 2.0.3 because more recent versions do not respect OPAMYES
run: opam install -y -j 2 opam-publish=2.0.3
- name: Publish
#if: success() && startsWith(github.ref, 'refs/tags/')
run: |
eval $(opam env)
opam publish --help
opam publish --no-browser --repo=coq/opam-coq-archive --packages-directory=extra-dev/packages language-server