Skip to content

Commit

Permalink
Move environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-kaminski committed Oct 20, 2020
1 parent dae34b5 commit de6d3b7
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
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 @@ -21,8 +14,10 @@ jobs:
java-version: 11
- uses: eskatos/gradle-command-action@v1
env:
SIGNING_KEY: $SIGNING_KEY
SIGNING_PASSWORD: $SIGNING_PASSWORD
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
with:
arguments: publishAllPublicationsToOSSRHRepository -PossrhUsername=$OSSRH_USERNAME -PossrhPassword=$OSSRH_PASSWORD -Dorg.gradle.internal.publish.checksums.insecure=true

0 comments on commit de6d3b7

Please sign in to comment.