File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ tags :
8+ - ' *'
79 pull_request :
810 branches :
911 - main
@@ -116,6 +118,18 @@ jobs:
116118 name : runtime-rescript
117119 path : _build/default/packages/runtime/rescript
118120
121+ - name : Install dune-release
122+ if : startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == '5.4.0'
123+ run : opam install dune-release -y
124+
125+ - name : Release to opam
126+ 127+ if : startsWith(github.ref, 'refs/tags/') && matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == '5.4.0'
128+ with :
129+ packages : ' styled-ppx'
130+ changelog : ' ./CHANGES.md'
131+ github-token : ${{ secrets.GH_TOKEN }}
132+
119133 - name : Save opam cache
120134 uses : actions/cache/save@v4
121135 if : steps.opam-cache.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 2424 },
2525 "repository" : {
2626 "type" : " git" ,
27- "url" : " https://github.com/davesnx/styled-ppx.git"
27+ "url" : " git+ https://github.com/davesnx/styled-ppx.git"
2828 },
2929 "peerDependencies" : {
3030 "rescript" : " 9.x || 10.x"
You can’t perform that action at this time.
0 commit comments