Browse Source

always use the same JDK version in debian workflow

Armin Schrenk 2 years ago
parent
commit
7dd1c3576f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/debian.yml

+ 1 - 1
.github/workflows/debian.yml

@@ -45,7 +45,7 @@ jobs:
         run: |
           sudo add-apt-repository ppa:coffeelibs/openjdk
           sudo apt-get update
-          sudo apt-get install debhelper devscripts dput coffeelibs-jdk-19 libgtk2.0-0
+          sudo apt-get install debhelper devscripts dput coffeelibs-jdk-${{ env.JAVA_VERSION }} libgtk2.0-0
       - name: Setup Java
         uses: actions/setup-java@v3
         with: