Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit f236288

Browse files
committed
Maybe worked out the error?
1 parent e843974 commit f236288

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
./gradlew clean dist website
5959
6060
- name: Publish to Sonatype
61-
if: ${{ env.HAVE_GPGKEYURI == 'true' && env.CI_BRANCH == 'master' }}
61+
if: ${{ env.HAVE_GPGKEYURI == 'true' && env.CI_BRANCH == 'master' && env.CI_TAG != '' }}
6262
run: |
6363
curl -s -o secret.gpg ${{ secrets.GPGKEYURI }}
6464
./gradlew -PsonatypePassword="${{ secrets.SONATYPEPASS }}" \
@@ -67,11 +67,12 @@ jobs:
6767
-Psigning.secretKeyRingFile=./secret.gpg \
6868
mavenReleaseArtifact
6969
rm -f secret.gpg
70+
curl --header "Authorization: Bearer ${BEARER}" --form bundle=@build/distributions/maven-sinclude-${CI_TAG}.zip https://central.sonatype.com/api/v1/publisher/upload
7071
71-
- name: Setup upterm session
72-
uses: lhotari/action-upterm@v1
73-
with:
74-
limit-access-to-actor: true
72+
# - name: Setup upterm session
73+
# uses: lhotari/action-upterm@v1
74+
# with:
75+
# limit-access-to-actor: true
7576

7677
- name: Deploy master to gh-pages
7778
if: ${{ env.HAVE_ACCESS_TOKEN == 'true' && env.CI_BRANCH == 'master' }}

0 commit comments

Comments
 (0)