Skip to content

Commit

Permalink
Another attempt at fixing it
Browse files Browse the repository at this point in the history
  • Loading branch information
Duckelekuuk committed Aug 29, 2023
1 parent 679c2a0 commit 4e55abc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ name: Publish package to the Maven Central Repository
on:
release:
types: [created,edited]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: debug
run: echo ${{ secrets.GEHEIM }}
- uses: actions/checkout@v3
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '17.0.8+7'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: mvn -Drevision=${{ github.event.release.tag_name }} --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 comments on commit 4e55abc

Please sign in to comment.