Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update gradle/gradle-build-action action from v2 to v3 #135

Merged
merged 2 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,20 @@ jobs:
with:
fetch-depth: 0

- name: Build
uses: gradle/gradle-build-action@v2
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
arguments: clean build --parallel --build-cache --stacktrace
gradle-home-cache-cleanup: true
gradle-home-cache-includes: |
caches
notifications
jdks
wrapper

- name: Build
run: ./gradlew build --parallel --build-cache --stacktrace

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
Expand Down
31 changes: 17 additions & 14 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
gpg --list-secret-keys --keyid-format LONG
echo -n "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | base64 --decode > release.gpg

- name: Build and Release Main
uses: gradle/gradle-build-action@v2
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
gradle-home-cache-cleanup: true
Expand All @@ -74,15 +74,18 @@ jobs:
notifications
jdks
wrapper
arguments: |
-Psemver.modifier=${{ github.event.inputs.versionModifier }}
clean build ${{ steps.build_parameters.outputs.publishCommand }}
${{ steps.build_parameters.outputs.githubReleaseCommand }}
-Psigning.keyId=${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
-Psigning.password=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}"
-Psigning.secretKeyRingFile=release.gpg
-Pgradle.publish.key=${{ secrets.OSS_GRADLE_PUBLISH_KEY }}
-Pgradle.publish.secret=${{ secrets.OSS_GRADLE_PUBLISH_SECRET }}
--stacktrace
--parallel
--build-cache

- name: Build and Release Main
run: |
./gradlew
-Psemver.modifier=${{ github.event.inputs.versionModifier }}
build ${{ steps.build_parameters.outputs.publishCommand }}
${{ steps.build_parameters.outputs.githubReleaseCommand }}
-Psigning.keyId=${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
-Psigning.password=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}"
-Psigning.secretKeyRingFile=release.gpg
-Pgradle.publish.key=${{ secrets.OSS_GRADLE_PUBLISH_KEY }}
-Pgradle.publish.secret=${{ secrets.OSS_GRADLE_PUBLISH_SECRET }}
--stacktrace
--parallel
--build-cache
Loading