Skip to content

Commit

Permalink
initial package test
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffcaseyyet committed Nov 25, 2024
1 parent 76a01e9 commit 24deed7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -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 }}

7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,11 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/yetanalytics/xapi-tools</url>
</repository>
</distributionManagement>
</project>

0 comments on commit 24deed7

Please sign in to comment.