Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceWalkerRS authored Jul 22, 2024
1 parent e760ee6 commit b8947c0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ on: push
jobs:
build:
runs-on: ubuntu-20.04
container:
image: openjdk:17-jdk
options: --user root
steps:
- uses: actions/checkout@v1
- uses: gradle/wrapper-validation-action@v1
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/wrapper-validation-action@v2
- run: ./gradlew publish --stacktrace
env:
MAVEN_URL: ${{ secrets.NEW_MAVEN_URL }}
Expand Down

0 comments on commit b8947c0

Please sign in to comment.