Skip to content

Commit

Permalink
Changes for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
iadgovuser29 committed Apr 12, 2024
1 parent e60a8b7 commit f078627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-build-paccor_scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Pack
working-directory: dotnet/paccor_scripts
run: dotnet pack
working-directory: dotnet/paccor_scripts/paccor_scripts
- name: Publish
working-directory: dotnet/paccor_scripts/paccor_scripts
run: |
dotnet -r linux-x64 -c Release
dotnet -r win-x64 -c Release
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</PropertyGroup>
<Exec Condition="!Exists('$(FOLDER_OUT)')" Command="mkdir $(FOLDER_OUT)" />
<Exec Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))'" Command="for /f %%i in ('dir /s /b $(FOLDER_PROTO)\*.proto') do ( $(protoc) --proto_path=$(protoc_tools) --proto_path=$(PlatformCertificateProtoFilesDir) -I=$(FOLDER_PROTO) --csharp_out=$(FOLDER_OUT) %%i )" />
<Exec Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'" Command="for file in `ls -1R $(FOLDER_PROTO)/*.proto` ; do $(protoc) --proto_path=$(protoc_tools) -I=$(FOLDER_PROTO) --csharp_out=$(FOLDER_OUT) $file; done " />
<Exec Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))'" Command="for file in `ls -1R $(FOLDER_PROTO)/*.proto` ; do $(protoc) --proto_path=$(protoc_tools) --proto_path=$(PlatformCertificateProtoFilesDir) -I=$(FOLDER_PROTO) --csharp_out=$(FOLDER_OUT) $file; done " />

<ItemGroup>
<GeneratedFiles Include="$(FOLDER_OUT)/*.cs;" />
Expand Down

0 comments on commit f078627

Please sign in to comment.