Skip to content

Commit

Permalink
Add java 11 and 17 to the builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Soubinan committed Mar 23, 2024
1 parent 7db18f2 commit f9b3baa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ jobs:
steps:
- name: Install Distrobuilder and other tools
run: |
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | sudo apt-key add -
echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list
sudo apt-get update -y
sudo apt-get install -y debootstrap squashfs-tools jq wget curl unzip
sudo apt-get install -y temurin-11-jdk temurin-17-jdk
sudo update-alternatives --config java
sudo snap install distrobuilder --classic
mkdir -p /tmp/output/${{inputs.app_name}}
mkdir -p /tmp/cache/${{inputs.app_name}}
Expand Down

0 comments on commit f9b3baa

Please sign in to comment.