Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
timosachsenberg authored Apr 18, 2024
1 parent f412b1f commit e089f02
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
exit 1
fi
# 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
shell: bash

- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
Expand Down Expand Up @@ -105,4 +111,4 @@ jobs:
with:
tag_name: ${{ steps.generate_tag_name.outputs.TAG_NAME }}
files: |
./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 # can't use ${{ github.workspace }} here because windows backslash is not supported by pattern

0 comments on commit e089f02

Please sign in to comment.