From ceca90fa38f314be807eb025447412c6f65c768b Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 13 May 2023 20:51:45 +0200 Subject: [PATCH] ci: Attempt to fix env issues --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ef0b810..e8f8e69e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -218,7 +218,7 @@ jobs: with: path: "${{ github.workspace }}/build/qt" key: "${{ matrix.runner }}-qt${{ matrix.qt }}_${{ env.qt_version }}_${{ env.qt_hash }}-${{ env.CACHE_VERSION }}" - - name: "Dependency: Qt " + - name: "Dependency: Qt" id: qt if: ${{ startsWith( matrix.runner, 'ubuntu' ) || (steps.qt-cache.outputs.cache-hit != 'true') }} shell: bash