Skip to content

Commit

Permalink
Merge pull request #55 from outbrain/ahadadi-patch-1
Browse files Browse the repository at this point in the history
Update publish.yml
  • Loading branch information
ayoukhananov authored Jun 19, 2023
2 parents adb57b0 + 9b0a28c commit 86a8114
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:

steps:
- uses: actions/checkout@v3
# - name: Set up openjdk 8
# - name: Set up openjdk 17
# uses: actions/setup-java@v2
# with:
# distribution: 'temurin'
# java-version: '8'
# java-version: '17'

# - name: Build with Maven
# run: mvn clean install -DskipSing=false
Expand All @@ -25,7 +25,7 @@ jobs:
uses: actions/setup-java@v3
with: # running setup-java again overwrites the settings.xml
distribution: 'temurin'
java-version: '8'
java-version: '17'
cache: 'maven'
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME # env variable for username in deploy
Expand All @@ -41,4 +41,4 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 comments on commit 86a8114

Please sign in to comment.