From 869f0f6be6ed636b558ff37de9b419771a557524 Mon Sep 17 00:00:00 2001 From: knokko Date: Sat, 10 Aug 2024 21:58:58 +0200 Subject: [PATCH] Fix Github Actions workflow --- .github/workflows/gradle.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d02f6bb..cfc07fc 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -1,10 +1,6 @@ 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 @@ -18,8 +14,9 @@ jobs: 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: