Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Commit

Permalink
Update workflow and csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Jan 27, 2024
1 parent e4690c5 commit 0e6f6ce
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- uses: actions/checkout@v2

- name: Restore dependencies
run: dotnet restore
run: dotnet restore MapCycle.csproj

- name: Build
run: dotnet publish --configuration Debug
run: dotnet publish --configuration Debug MapCycle.csproj

- name: Archive production artifacts
uses: actions/upload-artifact@v2
Expand All @@ -36,6 +36,7 @@ jobs:
bin/Debug/net7.0/publish/MapCycle.deps.json
bin/Debug/net7.0/publish/MapCycle.dll
bin/Debug/net7.0/publish/MapCycle.pdb
bin/Debug/net7.0/publish/Newtonsoft.Json.dll
release:
needs: build
Expand Down
7 changes: 0 additions & 7 deletions MapCycle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,4 @@
<Private>True</Private>
</PackageReference>
</ItemGroup>

<Target Name="PostBuildCopy" AfterTargets="PostBuildEvent">
<ItemGroup>
<JsonDlls Include="$(UserProfile)\.nuget\packages\newtonsoft.json\13.0.3\lib\net6.0\Newtonsoft.Json.dll" />
</ItemGroup>
<Copy SourceFiles="@(JsonDlls)" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true" />
</Target>
</Project>
Binary file modified bin/Debug/net7.0/MapCycle.dll
Binary file not shown.
Binary file modified bin/Debug/net7.0/MapCycle.pdb
Binary file not shown.
Binary file modified obj/Debug/net7.0/MapCycle.dll
Binary file not shown.
Binary file modified obj/Debug/net7.0/MapCycle.pdb
Binary file not shown.

0 comments on commit 0e6f6ce

Please sign in to comment.