Skip to content

Commit

Permalink
fix the command line arg error
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubramanianaks committed Aug 12, 2022
1 parent a59c971 commit ea8f5d9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: publish_app
name: build_and_release

on:
push:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit ea8f5d9

Please sign in to comment.