Update projects/tests/build dependents GitHub Action

Took 27 minutes
This commit is contained in:
Doc 2025-10-21 15:23:44 -03:00
parent 080a72f208
commit 25b713bee4
No known key found for this signature in database
3 changed files with 9 additions and 11 deletions

View File

@ -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 }}"

View File

@ -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

View File

@ -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