Update Ubuntu, Change wrapper-validation in publish. (#4081)

This commit is contained in:
Kichura 2024-08-07 15:27:03 +02:00 committed by GitHub
parent aa22ca1d56
commit f39b466ac0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ jobs:
# Only run on PRs if the source branch is on a different repo. We do not need to run everything twice. # Only run on PRs if the source branch is on a different repo. We do not need to run everything twice.
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- name: Checkout Repository - name: Checkout Repository

View File

@ -8,12 +8,12 @@ on:
jobs: jobs:
publish: publish:
if: github.repository_owner == 'ViaVersion' if: github.repository_owner == 'ViaVersion'
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Validate Gradle Wrapper - name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3 uses: gradle/actions/wrapper-validation@v4
- name: Set up JDK 17 - name: Set up JDK 17
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with: