Skip to content

Commit

Permalink
Feat/build publish ci (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhommen committed Jan 19, 2024
1 parent cc86b32 commit 3274f71
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish package to GitHub Packages
on:
push:
branches: ["main"]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Publish package
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: publish
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ github.token }}

0 comments on commit 3274f71

Please sign in to comment.