From a274f4de81e8ab245a8357512bc062b27b665afa Mon Sep 17 00:00:00 2001 From: Jose Luis Leon Date: Sat, 16 Sep 2023 21:53:34 -0500 Subject: [PATCH] fix(artifact): Fix expired signing certificate (#206) --- .github/workflows/release.yml | 9 ++++----- build.gradle | 4 ++++ gradle.properties | 7 ------- lion-keyring.asc | Bin 2642 -> 0 bytes 4 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 lion-keyring.asc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13c5387..89bae35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,16 +34,15 @@ jobs: with: node-version-file: .nvmrc cache: yarn - - name: Provision - run: | - sed -i "s/{SIGNING_PASSWORD}/${{ secrets.SIGNING_PASSWORD }}/g" gradle.properties - sed -i "s/{SONATYPE_USERNAME_TOKEN}/${{ secrets.SONATYPE_USERNAME_TOKEN }}/g" gradle.properties - sed -i "s/{SONATYPE_PASSWORD_TOKEN}/${{ secrets.SONATYPE_PASSWORD_TOKEN }}/g" gradle.properties - run: ./gradlew assemble - run: yarn install --immutable - run: yarn release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} + ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} + ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME_TOKEN }} + ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD_TOKEN }} pages: uses: ./.github/workflows/pages.yml diff --git a/build.gradle b/build.gradle index 7babdf0..d45ec71 100644 --- a/build.gradle +++ b/build.gradle @@ -180,6 +180,10 @@ publishing { } signing { + def signingKey = findProperty("signingKey") + def signingPassword = findProperty("signingPassword") + + useInMemoryPgpKeys(signingKey, signingPassword) sign(publishing.publications.mavenJava) } diff --git a/gradle.properties b/gradle.properties index 4734fb5..151e933 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,11 +1,4 @@ version=0.0.0 -signing.keyId=031E46E1 -signing.password={SIGNING_PASSWORD} -signing.secretKeyRingFile=lion-keyring.asc - -sonatypeUsername={SONATYPE_USERNAME_TOKEN} -sonatypePassword={SONATYPE_PASSWORD_TOKEN} - org.gradle.parallel=true org.gradle.caching=true diff --git a/lion-keyring.asc b/lion-keyring.asc deleted file mode 100644 index 27fbd17f36500be0cfbbba4797a8e90846ae718a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2642 zcmajfXE+;*0>*JkNUR{J+D#oq%+!dccI}m8#Hd-b_EvkZTF0)fMs1Fr)@qHGs?`!w zHELf~6h(RnPVaM{JHFkI{}1oS_m>A6p|r{7jR8K?c7DxdDPyntVAm9+SSBv`(ot@D_X=cSVGpR>+ z%J-{UZ%;XV-H<;&3L8(t1;gUSKDEKnN+dD7&b-M2?ZZ8z=0GAB*~$m~bEaZGM{b~E zIY=3EVeo{RUEUC6^ZY7w@NO?VWLGA$gx(bSvWkWF$Z3Yj6dk!WC8JaYglIcgy8mh4 zQSKElOUwLXM|DFwIrr9EL~)-*=u64*8Dht|R+R};yeZgIFL}>M??bH4_Rqb z$PfCinlVbKu`tT=hxMi!%QmK>U^0&Le0;LG;ahC^uI!BMG`;zeNjiflBJdr2tiPho zPdKRe4?N=J`9#+t`>Z{>uKV@`&6G_}l$x^jbA8jp#F(RNhU2nACS=2g`M{dx5*~?F zukEys|4Lm;zgLklD2t{W{B-uXFt}Nh@2Y~ge@pI-o^;lNEx3bREczil^EB`-Jzj)g zdBkH|eUbPA6FP-- zy#1ZvdV#L~a6Kn)FSxwhulD$rGAI;6FhCa)GF5KtsxmRCF}d5Fq#lEe$mtkdh4u0swgdz?;z& zv@}fro)jKHuDzaZr88Kuo#$a4Lf6F!uHnNK#wlhcr3$6QmEh`9%h8J$g(001`Q?{+ z1=mgF$za4y-7QhT+=7`dF)m=#eKh>y9oGw519vSNA!Bo$Iz_i{*WqTkTz&n}XO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