Skip to content

Commit

Permalink
update acition
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Mar 23, 2023
1 parent 154ea51 commit 6067242
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/checkout@v3
- name: Setup JDK 11
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 11
- name: Setup build cache
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Gradle build
run: gradle build
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Gradle publish
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: gradle publish
run: gradle -Drepo=github publish

0 comments on commit 6067242

Please sign in to comment.