Skip to content

Commit

Permalink
changes found from testcontainers release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsEckart committed Aug 1, 2023
1 parent ef42618 commit 2127aea
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ jobs:
with:
distribution: 'zulu'
java-version: 11
- name: Cache Gradle
uses: actions/cache@v3.3.1
- name: Setup Gradle Build Action
uses: gradle/gradle-build-action@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle-
- name: publish to github packages
run: ./gradlew --no-daemon --continue --build-cache --stacktrace publish
gradle-home-cache-cleanup: true
- name: Run Gradle Build
run: ./gradlew build --no-daemon -i -x test

- name: Run Gradle Publish
run: |
./gradlew publish --no-daemon -i
env:
OSSRH_USERNAME: ${{secrets.OSSRH_USERNAME}}
OSSRH_PASSWORD: ${{secrets.OSSRH_PASSWORD}}

0 comments on commit 2127aea

Please sign in to comment.