Skip to content

Automatic release scripts and workflow (#386) #6

Automatic release scripts and workflow (#386)

Automatic release scripts and workflow (#386) #6

Workflow file for this run

name: opam-repository
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
env:
# allow opam depext to yes package manager prompts
OPAMCONFIRMLEVEL: unsafe-yes
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
tags: true
- name: Setup OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.3"
- name: Install dependencies
run: opam install opam-publish
- name: Publish
run: ./scripts/publish.sh