diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 7d6b1b5..219e6e7 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -23,13 +23,13 @@ jobs: run: | echo "gradle.publish.key=$GRADLE_PUBLISH_KEY" >> $FILE echo "gradle.publish.secret=$GRADLE_PUBLISH_SECRET" >> $FILE - with: + env: FILE: ~/.gradle/gradle.properties GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} - name: Publish to Gradle Plugin Portal run: ./gradlew :jvm:publishPlugins - with: + env: GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }} GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - name: Clean Gradle properties