Skip to content

Commit

Permalink
ci: testing other ways of getting env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogarcia committed Dec 6, 2022
1 parent 85b9c7a commit ad672ca
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/gql-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ jobs:
build:
runs-on: ubuntu-latest
environment: release
env:
ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY_ID: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY_ID }}
ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY }}
ORG_GRADLE_PROJECT_PUBLISH_SIGN_SECRET: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_SECRET }}
ORG_GRADLE_PROJECT_PUBLISH_REPO_USERNAME: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_REPO_USERNAME }}
ORG_GRADLE_PROJECT_PUBLISH_REPO_PASSWORD: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_REPO_PASSWORD }}
ORG_GRADLE_PROJECT_PUBLISH_GH_TOKEN: ${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_GH_TOKEN }}
ORG_GRADLE_PROJECT_KK: "testing"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
Expand All @@ -18,12 +26,5 @@ jobs:
run: ./gradlew build -x aggregateCodenarc
- name: release
run: |
./gradlew clean build release \
-PPUBLISH_SIGN_KEY_ID=${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY_ID }} \
-PPUBLISH_SIGN_KEY='${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_KEY }}' \
-PPUBLISH_SIGN_SECRET=${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_SIGN_SECRET }} \
-PPUBLISH_REPO_USERNAME=${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_REPO_USERNAME }} \
-PPUBLISH_REPO_PASSWORD=${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_REPO_PASSWORD }} \
-PPUBLISH_GH_TOKEN=${{ secrets.ORG_GRADLE_PROJECT_PUBLISH_GH_TOKEN }} \
-x aggregateCodenarc \
-x aggregateGroovydoc
echo "==========>$ORG_GRADLE_PROJECT_KK"
./gradlew clean build release -x aggregateCodenarc -x aggregateGroovydoc

0 comments on commit ad672ca

Please sign in to comment.