Skip to content

Commit

Permalink
Sonatype credentials passed through gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayssam Saleh authored and Hayssam Saleh committed Jun 4, 2024
1 parent 1e0524d commit 48dffc3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
uses: gradle/actions/setup-gradle@v3
- id: check
name: Build with Gradle
run: ./gradlew check jacocoTestReport jacocoTestCoverageVerification coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: ./gradlew check jacocoTestReport jacocoTestCoverageVerification # coveralls
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- id: install-gradle-properties
name: Install Gradle Properties from Secret
env:
Expand All @@ -36,6 +36,6 @@ jobs:
echo "${GRADLE_PROPERTIES}" > ~/.gradle/gradle.properties
- name: Publish to Sonatype
run: ./gradlew publish
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
# env:
# USERNAME: ${{ github.actor }}
# TOKEN: ${{ secrets.SONATYPE_TOKEN }}

0 comments on commit 48dffc3

Please sign in to comment.