Skip to content

Commit

Permalink
correct the path
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubramanianaks committed Aug 15, 2022
1 parent 2286c51 commit 16d1b22
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 @@ -20,31 +20,31 @@ jobs:
- name: Setup NuGet.exe for use with actions
uses: NuGet/[email protected]
- name: Restore dependencies using Nuget
run: nuget restore src/client.sln -Verbosity Normal -NonInteractive -ConfigFile src/nuget.config
run: nuget restore src\client.sln -Verbosity Normal -NonInteractive -ConfigFile src/nuget.config
- name: dotnet Publish for ${{ matrix.mode }}
run: dotnet publish src/dsc/dsc.csproj -c Release -r ${{ matrix.mode }} --no-restore --self-contained true --verbosity normal
run: dotnet publish src\dsc\dsc.csproj -c Release -r ${{ matrix.mode }} --no-restore --self-contained true --verbosity normal
- name: Build endpointmanagerlauncher
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' }}
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
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
azPSVersion: '3.1.0'
- name: Create .Zip files (${{ matrix.mode }})
uses: TheDoctor0/[email protected]
with:
type: 'zip'
filename: 'lpk-${{ matrix.mode }}.zip'
path: ${{ github.workspace }}/src/dsc/bin/Release/netcoreapp3.1/${{ matrix.mode }}/publish
path: ${{ github.workspace }}\src\dsc\bin\Release\netcoreapp3.1\${{ matrix.mode }}\publish\
exclusions: '**/*.pdb **/*.xml **/*.nuspec **/cs/* **/de/* **/es/* **/fr/* **/it/* **/ja/* **/ko/* **/pl/* **/pt-BR/* **/ru/* **/tr/* **/zh-Hans/* **/zh-Hant/*'
- name: Upload Release
uses: actions/upload-artifact@v3
with:
name: lpk-${{ matrix.mode }}
path: |
${{ github.workspace }}/src/dsc/bin/Release/netcoreapp3.1/${{ matrix.mode }}/publish/lpk-${{ matrix.mode }}.zip
${{ github.workspace }}\src\dsc\bin\Release\netcoreapp3.1\${{ matrix.mode }}\publish\lpk-${{ matrix.mode }}.zip
release:
runs-on: windows-latest
needs: build
Expand Down

0 comments on commit 16d1b22

Please sign in to comment.