Skip to content

Commit

Permalink
fix(CD): select correct asset path
Browse files Browse the repository at this point in the history
  • Loading branch information
StuSerious committed May 31, 2023
1 parent efa74ae commit 7fe38b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,13 @@ jobs:
--add-data "src/threedy/components;components/" `
--add-data "src/threedy/modules;modules/" `
"src/threedy/main.py"
$assetPath = (Get-ChildItem -Path . -Filter 'threedy.exe' -Recurse | Select-Object -First 1 | Resolve-Path -Relative)
echo "::set-output name=asset_path::$assetPath"
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.build_binary.outputs.asset_path }}
asset_path: .\dist\
asset_name: threedy.exe
asset_content_type: application/octet-stream

0 comments on commit 7fe38b1

Please sign in to comment.