Skip to content

Commit

Permalink
github publish action update
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Aug 15, 2024
1 parent 01a93a5 commit 78bb23a
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Publish package
run: gradle clean publish
env:
GITHUB_ACTOR: ${{ secrets.GITHUBACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Publish package
run: ./gradlew build publish
env:
GITHUB_ACTOR: ${{ secrets.GITHUBACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}

0 comments on commit 78bb23a

Please sign in to comment.