From 632ebc2e40e0c5855a5807cdbf6f324e25c14dc5 Mon Sep 17 00:00:00 2001 From: knokko Date: Sat, 10 Aug 2024 21:58:58 +0200 Subject: [PATCH] Fix the Github Actions workflow --- .github/workflows/gradle.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d02f6bb..7bfce90 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -1,25 +1,22 @@ name: Testing with Java 17 and Java 21 on Linux -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] +on: [push, pull_request] permissions: contents: read jobs: test_ubuntu: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: jdk: [ 17, 21 ] steps: - uses: actions/checkout@v4 - run: sudo apt update - - run: sudo apt install vulkan-validationlayers - - run: sudo apt install mesa-vulkan-drivers + - run: sudo apt install -y vulkan-validationlayers + - run: sudo apt install -y mesa-vulkan-drivers + - run: sudo apt install -y vulkan-tools - name: Set up JDK ${{ matrix.jdk }} uses: actions/setup-java@v3 with: