Skip to content

Commit

Permalink
Fix workflow not seeing secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-kaminski committed Oct 20, 2020
1 parent c129655 commit dae34b5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
name: release
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
FIRST_NAME: Mona
LAST_NAME: Octocat
on:
push:
tags:
Expand All @@ -14,8 +21,8 @@ jobs:
java-version: 11
- uses: eskatos/gradle-command-action@v1
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_KEY: $SIGNING_KEY
SIGNING_PASSWORD: $SIGNING_PASSWORD
with:
arguments: publishAllPublicationsToOSSRHRepository -PossrhUsername=${{ secrets.OSSRH_USERNAME }} -PossrhPassword=${{ secrets.OSSRH_PASSWORD }} -Dorg.gradle.internal.publish.checksums.insecure=true
arguments: publishAllPublicationsToOSSRHRepository -PossrhUsername=$OSSRH_USERNAME -PossrhPassword=$OSSRH_PASSWORD -Dorg.gradle.internal.publish.checksums.insecure=true

0 comments on commit dae34b5

Please sign in to comment.