Skip to content

Commit

Permalink
structure change
Browse files Browse the repository at this point in the history
  • Loading branch information
Haik committed Nov 29, 2023
1 parent 12dd874 commit 6d5c388
Show file tree
Hide file tree
Showing 23 changed files with 13 additions and 181 deletions.
12 changes: 0 additions & 12 deletions .config/dotnet-tools.json

This file was deleted.

13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy NuGet Package

env:
PROJECT_PATH: './Pandatech.Crypto/Pandatech.Crypto.csproj'
PROJECT_PATH: './src/Pandatech.Crypto/Pandatech.Crypto.csproj'
OUTPUT_DIR: 'nupkgs'
NUGET_SOURCE: 'https://api.nuget.org/v3/index.json'
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
Expand All @@ -18,21 +18,18 @@ jobs:
dotnet-version: [ '8.x.x' ]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Build
run: dotnet build ${{ env.PROJECT_PATH }}

- name: Test
run: dotnet test ${{ env.PROJECT_PATH }} --collect:"XPlat Code Coverage"

- name: Pack
run: dotnet pack ${{ env.PROJECT_PATH }} --output ${{ env.OUTPUT_DIR }}
run: dotnet pack ${{ env.PROJECT_PATH }} --output ${{ env.OUTPUT_DIR }}

- name: Publish
run: dotnet nuget push ${{ env.OUTPUT_DIR }}/*.nupkg -k ${{ env.NUGET_API_KEY }} -s ${{ env.NUGET_SOURCE }}
run: dotnet nuget push ${{ env.OUTPUT_DIR }}/*.nupkg -k ${{ env.NUGET_API_KEY }} -s ${{ env.NUGET_SOURCE }}
141 changes: 0 additions & 141 deletions Pandatech.Crypto/Readme.md

This file was deleted.

7 changes: 0 additions & 7 deletions global.json

This file was deleted.

File renamed without changes
2 changes: 1 addition & 1 deletion Pandatech.Crypto.sln → src/Pandatech.Crypto.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34024.191
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pandatech.Crypto.Tests", "Pandatech.Crypto.Tests\Pandatech.Crypto.Tests.csproj", "{89D6535F-549C-4091-BF21-96565F098C3F}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pandatech.Crypto.Tests", "../tests/Pandatech.Crypto.Tests\Pandatech.Crypto.Tests.csproj", "{89D6535F-549C-4091-BF21-96565F098C3F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pandatech.Crypto", "Pandatech.Crypto\Pandatech.Crypto.csproj", "{97B88123-20B1-4F0A-82E7-DFDD08A03B7C}"
EndProject
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,20 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>2.2.1</Version>
<Title>Pandatech.Crypto</Title>
<Authors>Pandatech</Authors>
<PackageIcon>pandatech.png</PackageIcon>
<PackageReadmeFile>Readme.md</PackageReadmeFile>
<Version>2.2.2</Version>
<Title>Pandatech.Crypto</Title>
<PackageTags>Pandatech, library, encryption, hash, algorythms, security</PackageTags>
<Description>PandaTech.Crypto is a .NET library simplifying common cryptograhic functions.</Description>
<RepositoryUrl>https://github.com/PandaTechAM/be-lib-pandatech-crypto</RepositoryUrl>
<PackageReleaseNotes>Nullable byte in aes256 decrypt</PackageReleaseNotes>
<PackageReleaseNotes>Structure change</PackageReleaseNotes>
</PropertyGroup>

<ItemGroup>
<None Update="pandatech.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Update="Readme.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\..\pandatech.png" Pack="true" PackagePath="\"/>
<None Include="..\..\Readme.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Pandatech.Crypto\Pandatech.Crypto.csproj" />
<ProjectReference Include="..\..\src\Pandatech.Crypto\Pandatech.Crypto.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6d5c388

Please sign in to comment.