Automated submission of OPAM package on release #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 --tag=v1.9.0+coq8.18 coq-community/vscoq |