Skip to content

Commit

Permalink
Try to handle windows runner case for path
Browse files Browse the repository at this point in the history
  • Loading branch information
alexroan committed Jun 4, 2024
1 parent cf0e144 commit 135d0fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
mkdir -p compressed
tar -czvf compressed/${{ env.BIN_RELEASE_VERSIONED }}.tar.gz ${{ env.BIN_RELEASE_VERSIONED }}
echo "COMPRESSED_BINARY=compressed/${{ env.BIN_RELEASE_VERSIONED }}.tar.gz" >> $GITHUB_ENV
if [[ "${{ matrix.runner }}" == "windows-latest" ]]; then
echo "COMPRESSED_BINARY=compressed/${{ env.BIN_RELEASE_VERSIONED }}.tar.gz" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
fi
- name: Upload Artifact
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 135d0fa

Please sign in to comment.