From b0f811d5ba6aba166bb5752839ea1d161fb76bbb Mon Sep 17 00:00:00 2001 From: mworzala Date: Tue, 20 Feb 2024 21:32:11 -0500 Subject: [PATCH] chore: alternative solution for prior commit because the simple one didn't work. --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 742dcdc8f..50ffb53a5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -32,7 +32,7 @@ jobs: run: ./gradlew test publish: runs-on: ubuntu-latest - if: github.repository == 'Minestom/Minestom' + if: github.event.pull_request.head.repo.full_name == github.repository env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}