Skip to content

Commit

Permalink
right path to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubramanianaks committed Aug 12, 2022
1 parent 8563f46 commit ce91294
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: dotnet publish src\EndpointManagerLauncher\endpointmanagerlauncher.csproj -r win-x64 -c Release --no-restore
- name: Copy endpointmanagerlauncher
uses: Azure/powershell@v1
if: ${{ matrix.mode }} == 'win-x64'
if: ${{ matrix.mode == 'win-x64' }}
with:
inlineScript: |
Copy-Item -Path ${{ github.workspace }}/src/EndpointManagerLauncher/bin/Release/netcoreapp3.1/win-x64/publish/ -Destination ${{ github.workspace }}/src/dsc/bin/Release/netcoreapp3.1/win-x64/publish/EndpointManagerLauncher -Recurse -Exclude **/*.pdb
Expand All @@ -45,7 +45,7 @@ jobs:
with:
name: lpk-${{ matrix.mode }}
path: |
**/src/dsc/bin/Release/**/**/publish/*
**/src/dsc/bin/Release/netcoreapp3.1/${{ matrix.mode }}/publish/
!**/*.pdb
!**/*.xml
!**/*.nuspec
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: lpk-win
asset_path: lpk-win-x64
asset_name: lpk-win.zip
asset_content_type: application/zip
- name: Upload Linux Release Assets
Expand All @@ -99,7 +99,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: lpk-linux
asset_path: lpk-linux-x64
asset_name: lpk-linux.zip
asset_content_type: application/zip
- name: Upload OSX Release Assets
Expand All @@ -108,7 +108,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: lpk-osx
asset_path: lpk-osx-x64
asset_name: lpk-osx.zip
asset_content_type: application/zip

Expand Down

0 comments on commit ce91294

Please sign in to comment.