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 b81db85 commit 3e0d3f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:

- name: Prepare build
run: |
set -xe
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 All @@ -84,8 +85,11 @@ jobs:
sudo dpkg -i packages-microsoft-prod.deb
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
sudo apt install -y dotnet-sdk-8.0 yarn nodejs rename unzip maven openjdk-21-jdk-headless
JAVA_BIN=$(dpkg -L openjdk-21-jdk-headless | grep bin/java$)
JAVA_BIN=$(sudo dpkg -L openjdk-21-jdk-headless | grep bin/java$)
sudo update-alternatives --install /usr/bin/java java "$JAVA_BIN" 100 && sudo update-alternatives --set java "$JAVA_BIN"
java -version
maven -version
exit 1
sudo npm install -g json
if [[ "${{ matrix.packageType }}" == "rpm" ]]; then
sudo apt install -y python3-rpm python3-pip
Expand Down

0 comments on commit 3e0d3f1

Please sign in to comment.