trigger:
  paths:
    include: ['config/*']
  branches:
    include: ['release']
pr: 
  paths:
    include: ['config/*']
  branches:
    include: ['release']

pool:
  vmImage: 'ubuntu-latest'

steps:
- bash: sudo dpkg --add-architecture i386
  displayName: 'Enable 32-bit support'
- bash: sudo apt update
  displayName: 'Update package list'
- bash: sudo apt install steamcmd dos2unix curl jq lib32z1 libncurses5:i386 libbz2-1.0:i386 lib32gcc1 lib32stdc++6 libtinfo5:i386 libcurl3-gnutls:i386
  displayName: 'Install package dependencies'
- bash: steamcmd +login anonymous +force_install_dir ./tf2 +app_update 232250 +quit
  displayName: 'Install TF2DS'
- bash: |
    sudo cat <<EOT >> /usr/local/bin/vpk
    #!/bin/bash
    VPK_LINUX=$(find "${HOME}" -type f -iname "vpk_linux32" -print | head -n 1)
    VALVE_LIB_DIR=$(dirname "${VPK_LINUX}")
    LD_LIBRARY_PATH="${VALVE_LIB_DIR}:${LD_LIBRARY_PATH}" "${VPK_LINUX}" "${@}"
    EOT
  displayName: 'Install VPK to path'
- bash: dev/package.sh
  displayName: 'Build config'

trigger:
  paths:
    include: ['config/*', 'azure-pipelines.yml']
  branches:
    include: ['release']
pr: 
  paths:
    include: ['config/*', 'azure-pipelines.yml']
  branches:
    include: ['release']

pool:
  vmImage: 'ubuntu-latest'

steps:
- bash: sudo dpkg --add-architecture i386
  displayName: 'Enable 32-bit support'
- bash: sudo apt update
  displayName: 'Update package list'
- bash: sudo DEBIAN_FRONTEND=noninteractive apt -yq install steamcmd dos2unix curl jq lib32z1 libncurses5:i386 libbz2-1.0:i386 lib32gcc1 lib32stdc++6 libtinfo5:i386 libcurl3-gnutls:i386
  displayName: 'Install package dependencies'
- bash: steamcmd +login anonymous +force_install_dir ./tf2 +app_update 232250 +quit
  displayName: 'Install TF2DS'
- bash: |
    sudo cat <<EOT >> /usr/local/bin/vpk
    #!/bin/bash
    VPK_LINUX=$(find "${HOME}" -type f -iname "vpk_linux32" -print | head -n 1)
    VALVE_LIB_DIR=$(dirname "${VPK_LINUX}")
    LD_LIBRARY_PATH="${VALVE_LIB_DIR}:${LD_LIBRARY_PATH}" "${VPK_LINUX}" "${@}"
    EOT
  displayName: 'Install VPK to path'
- bash: dev/package.sh
  displayName: 'Build config'

Fix apt install requiring interaction
Fix apt install requiring interaction

Also fix changes to azure-pipelines.yml not triggering builds