Skip to content

Commit

Permalink
release action: fix windows env var access
Browse files Browse the repository at this point in the history
  • Loading branch information
greatest-ape committed Apr 28, 2022
1 parent af09f09 commit 6113aed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ jobs:
run: |
New-Item "tmp\OctaSine" -ItemType Directory -ea 0
Copy-Item "LICENSE" -Destination "tmp\OctaSine\LICENSE.txt"
Copy-Item "target\release\octasine.dll" -Destination "tmp\OctaSine\OctaSine $OCTASINE_SEMVER_VERSION.dll"
$version = $env:OCTASINE_SEMVER_VERSION
Copy-Item "target\release\octasine.dll" -Destination "tmp\OctaSine\OctaSine $version.dll"
Compress-Archive -Path "tmp\OctaSine" -DestinationPath releases\OctaSine-${{ steps.get_version.outputs.VERSION }}-Windows.zip -CompressionLevel Optimal
if: contains(matrix.os, 'windows')

Expand Down

0 comments on commit 6113aed

Please sign in to comment.