mirror of
https://github.com/PaperMC/Paper.git
synced 2025-12-05 04:54:44 +01:00
Update projects/tests/build dependents GitHub Action
Took 27 minutes
This commit is contained in:
parent
080a72f208
commit
25b713bee4
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -38,29 +38,29 @@ jobs:
|
||||
fail-fast: true
|
||||
steps:
|
||||
- if: ${{ github.event_name == 'push' }}
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
# todo remove me again after the update
|
||||
ref: ${{ github.ref_name }}
|
||||
fetch-depth: 0
|
||||
- if: ${{ github.event_name == 'pull_request' }}
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: 21
|
||||
distribution: 'zulu'
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
uses: gradle/actions/setup-gradle@v5
|
||||
with:
|
||||
# Allow cache writes on main and dev branches
|
||||
cache-read-only: ${{ github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/dev/') }}
|
||||
|
||||
- name: Configure Build
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
id: determine
|
||||
env:
|
||||
REF_NAME: "${{ github.ref_name }}"
|
||||
|
||||
8
.github/workflows/projects.yml
vendored
8
.github/workflows/projects.yml
vendored
@ -18,12 +18,10 @@ jobs:
|
||||
steps:
|
||||
- name: "authenticate"
|
||||
id: "authenticate"
|
||||
uses: "tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a" # v2.1.0
|
||||
uses: actions/create-github-app-token@v2
|
||||
with:
|
||||
installation_retrieval_mode: id
|
||||
installation_retrieval_payload: "36153445"
|
||||
app_id: "${{ secrets.PROJECTS_APP_ID }}"
|
||||
private_key: "${{ secrets.PROJECTS_PRIVATE_KEY }}"
|
||||
app-id: "${{ secrets.PROJECTS_APP_ID }}"
|
||||
private-key: "${{ secrets.PROJECTS_PRIVATE_KEY }}"
|
||||
|
||||
- uses: PaperMC/update-projects-action@v0.2.0
|
||||
name: Update open issue
|
||||
|
||||
2
.github/workflows/test_results.yml
vendored
2
.github/workflows/test_results.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
actions: read
|
||||
steps:
|
||||
- name: Download and Extract Artifacts
|
||||
uses: dawidd6/action-download-artifact@v6
|
||||
uses: dawidd6/action-download-artifact@v11
|
||||
with:
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
path: test_artifacts
|
||||
|
||||
Loading…
Reference in New Issue
Block a user