From ce9129434e335c217d6c70cc7f2c59d5de558a82 Mon Sep 17 00:00:00 2001 From: "REDMOND\\hsubramanian" Date: Fri, 12 Aug 2022 15:47:07 -0400 Subject: [PATCH] right path to upload --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7f40e959..ea916670d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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