Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,29 +38,29 @@ jobs:
fail-fast: true
steps:
- if: ${{ github.event_name == 'push' }}
uses: actions/checkout@v4
uses: actions/checkout@v6
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@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: JDK 25
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
java-version: 25
distribution: 'zulu'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@v6
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@v9
id: determine
env:
REF_NAME: "${{ github.ref_name }}"
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ jobs:
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: "authenticate"
id: "authenticate"
uses: "tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a" # v2.1.0
- name: authenticate
id: authenticate
uses: actions/create-github-app-token@v3
with:
installation_retrieval_mode: id
installation_retrieval_payload: "36153445"
app_id: "${{ secrets.PROJECTS_APP_ID }}"
private_key: "${{ secrets.PROJECTS_PRIVATE_KEY }}"
client-id: ${{ secrets.PROJECTS_APP_ID }}
private-key: ${{ secrets.PROJECTS_PRIVATE_KEY }}

- uses: PaperMC/update-projects-action@v0.2.0
name: Update open issue
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/publish_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ jobs:
steps:
- name: Generate an Application repository access token
id: gen_repo_token
uses: kattecon/gh-app-access-token-gen@v1
uses: actions/create-github-app-token@v3
with:
app_id: 1408328
private_key: ${{ secrets.PR_PUBLISHING_GH_APP_KEY }}
repository: ${{ github.repository }}
client-id: 1408328
private-key: ${{ secrets.PR_PUBLISHING_GH_APP_KEY }}
repositories: ${{ github.repository }}

- name: Publish PR
uses: PaperMC/action-pr-publishing@paper
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
actions: read
steps:
- name: Download and Extract Artifacts
uses: dawidd6/action-download-artifact@v6
uses: dawidd6/action-download-artifact@v21
with:
run_id: ${{ github.event.workflow_run.id }}
path: test_artifacts
Expand Down
Loading