Skip to content

Commit 82deba4

Browse files
committed
Release on each tag with dune-release-action
1 parent dbb1f03 commit 82deba4

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,30 @@ jobs:
4949

5050
- name: Test
5151
run: make test
52+
53+
release:
54+
name: Release
55+
needs: build
56+
if: startsWith(github.ref, 'refs/tags/')
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: Checkout code
60+
uses: actions/checkout@v5
61+
62+
- name: Use OCaml 5.1.x
63+
uses: ocaml/setup-ocaml@v3
64+
with:
65+
ocaml-compiler: 5.1.x
66+
67+
- name: Install dependencies
68+
run: make install
69+
70+
- name: Install dune-release
71+
run: opam install dune-release -y
72+
73+
- name: Release
74+
uses: davesnx/dune-release-action@v0.2.14
75+
with:
76+
packages: 'melange-testing-library'
77+
changelog: './CHANGES.md'
78+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)