Skip to content

Automated submission of OPAM package on release #9

Automated submission of OPAM package on release

Automated submission of OPAM package on release #9

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 -- repo=coq/opam-coq-archive --packages-directory=extra-dev/packages --tag=v1.9.0+coq8.18 coq-community/vscoq