File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: opam CI
22
33on :
44 pull_request :
5+ tags :
6+ - ' *'
57 push :
68 branches :
79 - master
6769 - name : Test
6870 run : opam exec -- dune runtest -p reason,rtop
6971
72+ - name : Install dune-release
73+ if : startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == 'ocaml-base-compiler.5.4.0'
74+ run : opam install dune-release -y
75+
76+ - name : Release to opam
77+ 78+ if : startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == 'ocaml-base-compiler.5.4.0'
79+ with :
80+ packages : ' reason,rtop'
81+ changelog : ' ./CHANGES.md'
82+ github-token : ${{ secrets.GH_TOKEN }}
83+
7084 - name : Save cache when not Windows
7185 uses : actions/cache/save@v4
7286 if : steps.opam-cache.outputs.cache-hit != 'true' && runner.os != 'Windows'
You can’t perform that action at this time.
0 commit comments