Skip to content

Commit c20d190

Browse files
committed
Test: CD
1 parent ada2bba commit c20d190

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CD
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*.*.*'
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
permissions: write-all
12+
13+
steps:
14+
- uses: actions/checkout@v5
15+
16+
- name: Install OCaml
17+
uses: ocaml/setup-ocaml@v3
18+
with:
19+
ocaml-compiler: 5.2.1
20+
dune-cache: true
21+
22+
- name: Install opam-publish
23+
run: opam install -y opam-publish=3.0.0
24+
25+
- name: Publish on rocq-released
26+
run: |
27+
TAG="${{ github.ref_name }}"
28+
VERSION="${TAG#v}"
29+
opam publish --no-confirmation --no-browser \
30+
--packages-directory=released/packages --repo rocq-prover/opam \
31+
--token=${{ secrets.GITHUB_TOKEN }} \
32+
--tag $TAG -v $VERSION epfl-systemf/StrictOrderSolver

0 commit comments

Comments
 (0)