diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03b47cb..4753da3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,13 @@ jobs: sudo apt-get update sudo apt-get install -y libdbus-1-dev pkg-config + - name: Set PKG_CONFIG_PATH for dbus-1 + if: runner.os == 'Linux' + run: | + dbus_pc_path=$(find /usr -name dbus-1.pc) + dbus_dir=$(dirname $dbus_pc_path) + echo "PKG_CONFIG_PATH=$dbus_dir" >> $GITHUB_ENV + - name: Get the release version from the tag shell: bash run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV