Skip to content

Commit

Permalink
Update build_packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-antonyuk committed Sep 30, 2024
1 parent d915137 commit c9dc886
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ jobs:

- name: Prepare build
run: |
JAVA_VERSION=21
sudo apt install -y openjdk-${JAVA_VERSION}-jdk maven
JAVA_BIN=$(dpkg -L openjdk-${JAVA_VERSION}-jdk-headless | grep /bin$ | sed 's:/bin$::')
sudo update-alternatives --install /usr/bin/java java "$JAVA_BIN" 100 && sudo update-alternatives --set java "$JAVA_BIN"
java -version
mvn -version
exit
wget -O - https://dl.yarnpkg.com/debian/pubkey.gpg | \
sudo gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/yarnkey.gpg --import
sudo chmod 644 /usr/share/keyrings/yarnkey.gpg
Expand Down

0 comments on commit c9dc886

Please sign in to comment.