mirror of https://github.com/Minestom/Minestom.git
chore: alternative solution for prior commit because the simple one didn't work.
This commit is contained in:
parent
c5a145cf8b
commit
b0f811d5ba
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue