diff --git a/.github/workflows/build_packages.yml b/.github/workflows/build_packages.yml index f3aa6ac892..b370873679 100644 --- a/.github/workflows/build_packages.yml +++ b/.github/workflows/build_packages.yml @@ -6,7 +6,9 @@ on: - 'release/**' - 'hotfix/**' - 'develop' + - 'feature/packages-dotnet' paths: + - '.github/workflows/build_packages.yml' - 'install/common/**' - 'install/deb/**' - 'install/rpm/**' @@ -34,7 +36,7 @@ env: PRODUCT_LOW: "docspace" BUILD_NUMBER: ${{ github.run_number }} PACKAGE_DIRECTORY: "/home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}" - BRANCH_BUILDTOOLS: ${{ github.event.inputs.branch-buildtools != '' && github.event.inputs.branch-buildtools || github.ref_name || 'develop' }} + BRANCH_BUILDTOOLS: ${{ github.event.inputs.branch-buildtools != '' && github.event.inputs.branch-buildtools || github.ref_name || 'feature/packages-dotnet' }} BRANCH_CLIENT: ${{ github.event.inputs.branch-client != '' && github.event.inputs.branch-client || github.ref_name || 'develop' }} BRANCH_SERVER: ${{ github.event.inputs.branch-server != '' && github.event.inputs.branch-server || github.ref_name || 'develop' }} @@ -81,9 +83,7 @@ jobs: sudo chmod 644 /usr/share/keyrings/yarnkey.gpg echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian/ stable main" | \ sudo tee /etc/apt/sources.list.d/yarn.list - wget https://packages.microsoft.com/config/$(lsb_release -is | \ - tr [:upper:] [:lower:])/$(lsb_release -rs)/packages-microsoft-prod.deb -O packages-microsoft-prod.deb - sudo dpkg -i packages-microsoft-prod.deb + sudo add-apt-repository ppa:dotnet/backports curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash - sudo apt install -y dotnet-sdk-9.0 yarn nodejs rename unzip maven openjdk-21-jdk-headless JAVA_PATH=$(find /usr/lib/jvm/ -name "java" -path "*java-${JAVA_VERSION}*" | head -1)