diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..3afbafc
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,36 @@
+name: Release
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up JDK 17
+ uses: actions/setup-java@v4
+ with:
+ distribution: 'adopt'
+ java-version: '17'
+
+ - name: Bump version and push tag
+ id: tag_version
+ uses: mathieudutour/github-tag-action@v6.0
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Create a GitHub release
+ uses: ncipollo/release-action@v1
+ with:
+ tag: ${{ steps.tag_version.outputs.new_tag }}
+ name: Release ${{ steps.tag_version.outputs.new_tag }}
+ body: |
+ ### Things that changed in this release(Changelog)
+ ${{ steps.tag_version.outputs.changelog }}
+ - name: Publish release to GitHub Packages
+ run: mvn -B --no-transfer-progress deploy -DskipTests
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index afbd742..81ce4c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,6 +24,13 @@
0.6.49-SNAPSHOT
2.9.0
+
+
+ github
+ MeasureAuthoringTool madie translator commons Package
+ https://maven.pkg.github.com/measureauthoringtool/madie-translator-commons
+
+
org.projectlombok