Skip to content

Commit

Permalink
chore: update github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
credmond-git committed Nov 28, 2024
1 parent e341cb4 commit 6f617a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
restore-keys: ${{ runner.os }}-gradle

- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v4

- name: Execute Gradle build
run: ./gradlew clean build
Expand All @@ -52,7 +52,7 @@ jobs:

- name: Publish Coverage
if: success()
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
restore-keys: ${{ runner.os }}-gradle

- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
uses: gradle/actions/setup-gradle@v4

- name: Publish package
# wraped the signing.password with single quotes as the password could contain special characters
run: ./gradlew publishToMavenCentral -Psigning.keyId=${{secrets.OSSRH_GPG_SECRET_KEY_ID}} -Psigning.password='${{secrets.OSSRH_GPG_SECRET_KEY_PASSWORD}}' -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg) -PmavenCentralUsername=${{secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME}} -PmavenCentralPassword='${{secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD}}' --warn --stacktrace

- name: Publish Coverage
if: success()
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 6f617a4

Please sign in to comment.