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
a59c971
commit ea8f5d9
Showing
1 changed file
with
7 additions
and
7 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: publish_app | ||
name: build_and_release | ||
|
||
on: | ||
push: | ||
|
@@ -22,8 +22,8 @@ jobs: | |
uses: NuGet/[email protected] | ||
- name: Restore dependencies using Nuget | ||
run: nuget restore src/client.sln -Verbosity Normal -NonInteractive -ConfigFile src/nuget.config | ||
- name: dotnet Publish for Mac OS/Linux/Windows | ||
run: dotnet publish src/dsc/dsc.csproj -c Release -r {{ matrix.mode }} --no-restore --self-contained true --verbosity normal | ||
- 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 | ||
- name: Build endpointmanagerlauncher | ||
run: dotnet publish src\EndpointManagerLauncher\endpointmanagerlauncher.csproj -r win-x64 -c Release --no-restore | ||
- name: Copy endpointmanagerlauncher | ||
|
@@ -36,8 +36,8 @@ jobs: | |
uses: TheDoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
filename: 'lpk-{{ matrix.mode }}.zip' | ||
directory: ${{ github.workspace }}/src/dsc/bin/Release/netcoreapp3.1/{{ matrix.mode }}/publish | ||
filename: 'lpk-${{ matrix.mode }}.zip' | ||
directory: ${{ 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: Create Build Number | ||
id: build_number | ||
|
@@ -61,7 +61,7 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ${{ github.workspace }}/src/dsc/bin/Release/netcoreapp3.1/{{ matrix.mode }}/publish/lpk-{{ matrix.mode }}.zip | ||
asset_name: lpk-{{ matrix.mode }}.zip | ||
asset_path: ${{ github.workspace }}/src/dsc/bin/Release/netcoreapp3.1/${{ matrix.mode }}/publish/lpk-${{ matrix.mode }}.zip | ||
asset_name: lpk-${{ matrix.mode }}.zip | ||
asset_content_type: application/zip | ||
|