Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhPatange authored Jun 16, 2020
1 parent 85e1888 commit 972a1b3
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,22 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
# - name: Set up JDK 1.8
# uses: actions/setup-java@v1
# with:
# java-version: 1.8
- name: Creating local properties file
run: echo signing.keyId=${{ secrets.SIGNING_KEYID }} >> local.properties
- run: echo signing.password=${{ secrets.SIGNING_PASSWORD }} >> local.properties
- run: echo ossrhUsername=${{ secrets.OSSRH_USERNAME }} >> local.properties
- run: echo ossrhPassword=${{ secrets.OSSRH_PASSWORD }} >> local.properties
- name: Show me directories
run: dir
- run: type local.properties
- run: echo ossrhPassword=${{ secrets.OSSRH_PASSWORD }} >> local.properties
- run: echo signing.secretKeyRingFile=key.gpg >> local.properties
- name: Creating key.gpg
uses: timheuer/[email protected]
with:
fileName: 'key.gpg'
encodedString: ${{ secrets.SOME_ENCODED_STRING }}
- run: dir
# - run: chmod +x gradlew
#- name: Build Gradle
# run: ./gradlew build
Expand Down

0 comments on commit 972a1b3

Please sign in to comment.