From 24deed779d4481e8722a14a7a7ae66fea274af9a Mon Sep 17 00:00:00 2001 From: Cliff Casey Date: Mon, 25 Nov 2024 11:24:48 -0500 Subject: [PATCH] initial package test --- .github/workflows/cd.yml | 23 +++++++++++++++++++++++ pom.xml | 7 +++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/cd.yml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..ed019ea --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,23 @@ +name: CD + +on: + push: + tags: + - 'v*.*.*' # Enforce Semantic Versioning +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + 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 e90c82f..afd8735 100644 --- a/pom.xml +++ b/pom.xml @@ -71,4 +71,11 @@ + + + github + GitHub Packages + https://maven.pkg.github.com/yetanalytics/xapi-tools + +