forked from Azure/Bridge-To-Kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2286c51
commit 16d1b22
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|