mirror of
https://github.com/PaperMC/Paper
synced 2026-08-20 18:26:12 -04:00
[ci skip[ Update build and publish_pr actions (#14070)
This commit is contained in:
parent
6f3917fe92
commit
fc9375aa07
2 changed files with 4 additions and 6 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -34,8 +34,6 @@ jobs:
|
|||
)
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
steps:
|
||||
- if: ${{ github.event_name == 'push' }}
|
||||
uses: actions/checkout@v7
|
||||
|
|
@ -107,7 +105,7 @@ jobs:
|
|||
|
||||
- name: Upload Test Results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: Test Results
|
||||
path: |
|
||||
|
|
@ -119,7 +117,7 @@ jobs:
|
|||
|
||||
- name: Upload Paperclip Jar
|
||||
if: fromJSON(steps.determine.outputs.result).action == 'paperclip'
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: paper-${{ fromJSON(steps.determine.outputs.result).pr }}
|
||||
path: paper-server/build/libs/paper-paperclip-*.jar
|
||||
|
|
|
|||
4
.github/workflows/publish_pr.yml
vendored
4
.github/workflows/publish_pr.yml
vendored
|
|
@ -21,11 +21,11 @@ jobs:
|
|||
id: gen_repo_token
|
||||
uses: actions/create-github-app-token@v3.2.0
|
||||
with:
|
||||
app-id: 1408328
|
||||
client-id: ${{ secrets.PR_PUBLISHING_GH_APP_CLIENT_ID }}
|
||||
private-key: ${{ secrets.PR_PUBLISHING_GH_APP_KEY }}
|
||||
repositories: ${{ github.repository }}
|
||||
- name: Publish PR
|
||||
uses: PaperMC/action-pr-publishing@paper
|
||||
uses: PaperMC/action-pr-publishing@v1.1.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ steps.gen_repo_token.outputs.token }}
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue