Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim8y committed Oct 12, 2023
1 parent c6495ac commit 93c3f4b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
sed -i '/<PackageReference Include="Neo"/d' $csproj_path
# Add a ProjectReference to the local Neo project
# Assuming the neo project's main .csproj is in its src/neo directory
sed -i '/<\/ItemGroup>/i \ <ProjectReference Include="../../neo/src/neo/neo.csproj" />' $csproj_path
sed -i '/<\/ItemGroup>/i \ <ProjectReference Include="../../neo/src/Neo/Neo.csproj" />' $csproj_path
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_devpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
sed -i '/<PackageReference Include="Neo"/d' ./neo-devpack-dotnet/src/Neo.Compiler.CSharp/Neo.Compiler.CSharp.csproj
# Add a ProjectReference to the local Neo project
# Assuming the neo project's main .csproj is in its root directory
sed -i '/<\/ItemGroup>/i \ <ProjectReference Include="../neo/src/neo/neo.csproj" />' ./neo-devpack-dotnet/src/Neo.Compiler.CSharp/Neo.Compiler.CSharp.csproj
sed -i '/<\/ItemGroup>/i \ <ProjectReference Include="../../../neo/src/Neo/Neo.csproj" />' ./neo-devpack-dotnet/src/Neo.Compiler.CSharp/Neo.Compiler.CSharp.csproj
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
Expand All @@ -33,11 +33,11 @@ jobs:

- name: Restore and build neo-devpack-dotnet
run: |
cd neo-devpack-dotnet/src/Neo.Compiler.CSharp
cd neo-devpack-dotnet/src/
dotnet restore
dotnet build
- name: Test neo-devpack-dotnet
run: |
cd neo-devpack-dotnet/src/Neo.Compiler.CSharp
cd neo-devpack-dotnet/tests
dotnet test
2 changes: 1 addition & 1 deletion .github/workflows/test_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# Add a ProjectReference to the local Neo project
# Assuming the neo project's main .csproj is in its src/neo directory
# Adding the ProjectReference to the Directory.Build.props is unconventional, but for the sake of this example, let's do it.
sed -i '/<\/ItemGroup>/i \ <ProjectReference Include="../neo/src/neo/neo.csproj" />' $props_path
sed -i '/<\/ItemGroup>/i \ <ProjectReference Include="../../neo/src/Neo/Neo.csproj" />' $props_path
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
Expand Down

0 comments on commit 93c3f4b

Please sign in to comment.