ci: Another attempt at fixing GITHUB_ENV issues

Why has the previous code worked? Did it ever work?
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-05-13 21:02:06 +02:00 committed by Xaymar
parent ceca90fa38
commit 7cd8ab8da2

View file

@ -168,9 +168,9 @@ jobs:
else
buildspecdata=(0000-00-00 "about:blank" "00000000000000000000000000000000")
fi
echo "obs_deps_version::\"${buildspecdata[0]}\"" >> $GITHUB_ENV
echo "obs_deps_url::\"${buildspecdata[1]}\"" >> $GITHUB_ENV
echo "obs_deps_hash::\"${buildspecdata[2]}\"" >> $GITHUB_ENV
echo "obs_deps_version=${buildspecdata[0]}" >> $GITHUB_ENV
echo "obs_deps_url=${buildspecdata[1]}" >> $GITHUB_ENV
echo "obs_deps_hash=${buildspecdata[2]}" >> $GITHUB_ENV
# Qt Version
if [[ "${{ matrix.runner }}" = windows* ]]; then
@ -180,12 +180,12 @@ jobs:
else
buildspecdata=(0000-00-00 "about:blank" "00000000000000000000000000000000")
fi
echo "qt_version::\"${buildspecdata[0]}\"" >> $GITHUB_ENV
echo "qt_url::\"${buildspecdata[1]}\"" >> $GITHUB_ENV
echo "qt_hash::\"${buildspecdata[2]}\"" >> $GITHUB_ENV
echo "qt_version=${buildspecdata[0]}" >> $GITHUB_ENV
echo "qt_url=${buildspecdata[1]}" >> $GITHUB_ENV
echo "qt_hash=${buildspecdata[2]}" >> $GITHUB_ENV
# libOBS Version
echo "obs_version::\"$(cd "${{ github.workspace }}/third-party/obs-studio" && git describe --tags --long)\""
echo "obs_version=$(cd "${{ github.workspace }}/third-party/obs-studio" && git describe --tags --long)"
# CMake Flags
if [[ "${{ matrix.CMAKE_GENERATOR }}" != "" ]]; then