Skip to content

Commit

Permalink
Fix deploy action environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankka committed Jul 5, 2024
1 parent 5c5073b commit b4152d6
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Deploy with Gradle
run: |
echo "ossrhUsername=$SONATYPE_USERNAME" >> gradle.properties
echo "ossrhPassword=$SONATYPE_PASSWORD" >> gradle.properties
./gradlew publish --no-daemon
run: ./gradlew publish --no-daemon
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
SONATYPE_KEY_PASS: ${{ secrets.SONATYPE_KEY_PASS }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
SIGNING_KEY: ${{ secrets.SONATYPE_KEY }}
SIGNING_KEY_PASS: ${{ secrets.SONATYPE_KEY_PASS }}

0 comments on commit b4152d6

Please sign in to comment.