From f1238df136fe0e42d56ebb4e939bf227183f7840 Mon Sep 17 00:00:00 2001 From: Timo Sachsenberg Date: Thu, 18 Apr 2024 12:11:26 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b0f2c39..65ce2b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -63,7 +63,9 @@ jobs: # Normalize path to only contain front slashes - name: Normalize path on windows id: normalize_ws - run: echo "NORMALIZED_WORKSPACE=$(echo ${{ github.workspace }} | sed 's/\\/\//g')" >> $GITHUB_ENV + run: | + echo "NORMALIZED_WORKSPACE=$(echo ${{ github.workspace }} | sed 's/\\/\//g')" >> $GITHUB_ENV + echo "$NORMALIZED_WORKSPACE" shell: bash - name: Set up Visual Studio shell @@ -111,4 +113,4 @@ jobs: with: tag_name: ${{ steps.generate_tag_name.outputs.TAG_NAME }} files: | - ${{ steps.normalize_ws.outputs.NORMALIZED_WORKSPACE}}/contrib-build/contrib_build-${{runner.os}}.tar.gz # can't use ${{ github.workspace }} here because windows backslash is not supported by pattern + "${{ steps.normalize_ws.outputs.NORMALIZED_WORKSPACE }}/contrib-build/contrib_build-${{runner.os}}.tar.gz"