Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomzzz authored Dec 29, 2022
1 parent 912e4b7 commit 80140c4
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,6 @@ jobs:
with:
name: Artifacts
path: build/libs/
- name: Decode
run: |
echo "${{secrets.SIGNING_KEY_ID}}"
echo "${{secrets.SIGNING_SECRET_KEY_RING_FILE}}" > ~/.gradle/secring.gpg.base64
base64 -d ~/.gradle/secring.gpg.base64 > ~/.gradle/secring.gpg
- name: Publish package
run: gradle publish -Porder=$GITHUB_RUN_NUMBER -Psigning.keyId=$SIGNING_KEY_ID -Psigning.password=$SIGNING_KEY_PASSWORD -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg)
env:
OSSRH_USERNAME: ${{ secrets.USERNAME }}
OSSRH_PASSWORD: ${{ secrets.PASSWORD }}
build-api:
name: Build API Jar
runs-on: ubuntu-latest
Expand Down Expand Up @@ -96,15 +86,6 @@ jobs:
with:
name: Artifacts
path: build/libs
- name: Decode
run: |
echo "${{secrets.SIGNING_SECRET_KEY_RING_FILE}}" > ~/.gradle/secring.gpg.base64
base64 -d ~/.gradle/secring.gpg.base64 > ~/.gradle/secring.gpg
- name: Publish package
run: gradle publish -Porder=$GITHUB_RUN_NUMBER -Papi=true -Psigning.keyId=$SIGNING_KEY_ID -Psigning.password=$SIGNING_KEY_PASSWORD -Psigning.secretKeyRingFile=$(echo ~/.gradle/secring.gpg)
env:
OSSRH_USERNAME: ${{ secrets.USERNAME }}
OSSRH_PASSWORD: ${{ secrets.PASSWORD }}
release:
name: Release Jar
needs: [ build, build-api ]
Expand Down

0 comments on commit 80140c4

Please sign in to comment.