Skip to content

Commit

Permalink
Merge pull request #2 from MeasureAuthoringTool/MAT-7052_translatorRe…
Browse files Browse the repository at this point in the history
…factor_2

Mat 7052 translator refactor 2
  • Loading branch information
sb-cecilialiu authored Aug 7, 2024
2 parents c4287bb + fa1c30d commit 4a07fb5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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 }}
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
<gov.cms.madie.models.version>0.6.49-SNAPSHOT</gov.cms.madie.models.version>
<com.jayway.jsonpath.version>2.9.0</com.jayway.jsonpath.version>
</properties>
<distributionManagement>
<repository>
<id>github</id>
<name>MeasureAuthoringTool madie translator commons Package</name>
<url>https://maven.pkg.github.com/measureauthoringtool/madie-translator-commons</url>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
Expand Down

0 comments on commit 4a07fb5

Please sign in to comment.