diff --git a/.github/workflows/publish-gh-package.yml b/.github/workflows/publish-gh-package.yml new file mode 100644 index 00000000..b8136ebb --- /dev/null +++ b/.github/workflows/publish-gh-package.yml @@ -0,0 +1,21 @@ +name: Publish package to GitHub Packages +on: + push: + tags: + - 'v*' +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + - name: Publish package + run: mvn --batch-mode deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 3d99888f..258842bd 100644 --- a/pom.xml +++ b/pom.xml @@ -162,5 +162,11 @@ - + + + github + GitHub Packages + https://maven.pkg.github.com/samsung/lpvs + +