Skip to content

Commit

Permalink
Attempt 1 at github packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
KonoTyran committed May 19, 2024
1 parent 2973590 commit f0443b2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish package to GitHub Packages
on:
release:
types: [created]
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 }}
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,13 @@
</dependency>
</dependencies>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub konotyran Apache Maven Packages</name>
<url>https://maven.pkg.github.com/konotyran/Archipelago.MultiClient.Java</url>
</repository>
</distributionManagement>


</project>

0 comments on commit f0443b2

Please sign in to comment.