File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CD
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*.*.*'
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ pull_requests : write
13+ workflows : write
14+
15+ steps :
16+ - uses : actions/checkout@v5
17+
18+ - name : Install OCaml
19+ uses : ocaml/setup-ocaml@v3
20+ with :
21+ ocaml-compiler : 5.2.1
22+ dune-cache : true
23+
24+ - name : Install opam-publish
25+ run : opam install -y opam-publish=3.0.0
26+
27+ # - uses: webfactory/ssh-agent@v0.8.0
28+ # with:
29+ # ssh-private-key: ${{ secrets.BOT_SSH_KEY }}
30+ #
31+ # - name: Write PAT
32+ # env:
33+ # OPAM_PUBLISH_TOKEN: ${{ secrets.OPAM_PUBLISH_TOKEN }}
34+ # run: |
35+ # mkdir -p ~/.opam/plugins/opam-publish
36+ # printf "$OPAM_PUBLISH_TOKEN" > ~/.opam/plugins/opam-publish/vscoqbot.token
37+
38+ - name : Publish on rocq-released
39+ run : |
40+ TAG="${{ github.ref_name }}"
41+ VERSION="${TAG#v}"
42+ # git config --global user.name vscoqbot
43+ # git config --global user.email vscoqbot@inria.fr
44+ opam publish --no-confirmation --no-browser \
45+ --packages-directory=released/packages --repo rocq-prover/opam \
46+ --token=${{ secrets.GITHUB_TOKEN }} \
47+ --tag $TAG -v $VERSION epfl-systemf/StrictOrderSolver
You can’t perform that action at this time.
0 commit comments