3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-14 12:00:06 +01:00

[ci skip] chore: fix incorrect commit hash in PR builds (#11198)

* fix incorrect hash in PR builds

* only apply ref on pull_request triggers
Dieser Commit ist enthalten in:
granny 2024-08-06 10:37:26 -07:00 committet von GitHub
Ursprung 7e44684a1f
Commit 042f15ffbd
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -24,7 +24,12 @@ jobs:
java: [21]
fail-fast: true
steps:
- uses: actions/checkout@v4
- if: ${{ github.event_name == 'push' }}
uses: actions/checkout@v4
- if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with: