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 e089f02 commit f1238df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"

0 comments on commit f1238df

Please sign in to comment.