mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-22 08:00:45 +03:00
Patches (#23)
* Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.11.1 (#22) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.0 to 17.11.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.6.0...v17.11.1) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update README.md * Update pr-workflow.yml * Update release-workflow.yml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -38,3 +38,17 @@ jobs:
|
|||||||
- run: dotnet restore
|
- run: dotnet restore
|
||||||
- run: dotnet build --no-restore
|
- run: dotnet build --no-restore
|
||||||
- run: dotnet test --no-restore --verbosity normal
|
- run: dotnet test --no-restore --verbosity normal
|
||||||
|
|
||||||
|
- run: dotnet pack --no-restore --configuration Debug
|
||||||
|
|
||||||
|
- name: Drop SimpleOTP
|
||||||
|
uses: actions/upload-artifact@main
|
||||||
|
with:
|
||||||
|
name: SimpleOTP
|
||||||
|
path: libraries/SimpleOTP/bin/Debug/EugeneFox.SimpleOTP*.*nupkg
|
||||||
|
|
||||||
|
- name: Drop SimpleOTP.DependencyInjection
|
||||||
|
uses: actions/upload-artifact@main
|
||||||
|
with:
|
||||||
|
name: SimpleOTP.DependencyInjection
|
||||||
|
path: libraries/SimpleOTP.DependencyInjection/bin/Debug/EugeneFox.SimpleOTP.DependencyInjection*.*nupkg
|
||||||
|
|||||||
@@ -20,11 +20,17 @@ jobs:
|
|||||||
- run: dotnet restore
|
- run: dotnet restore
|
||||||
- run: dotnet pack
|
- run: dotnet pack
|
||||||
|
|
||||||
- name: Drop artifacts
|
- name: Drop SimpleOTP
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
with:
|
with:
|
||||||
name: packages
|
name: SimpleOTP
|
||||||
path: libraries/**/Release/EugeneFox.SimpleOTP*.?nupkg
|
path: libraries/SimpleOTP/bin/Release/EugeneFox.SimpleOTP*.*nupkg
|
||||||
|
|
||||||
|
- name: Drop SimpleOTP.DependencyInjection
|
||||||
|
uses: actions/upload-artifact@main
|
||||||
|
with:
|
||||||
|
name: SimpleOTP.DependencyInjection
|
||||||
|
path: libraries/SimpleOTP.DependencyInjection/bin/Release/EugeneFox.SimpleOTP.DependencyInjection*.*nupkg
|
||||||
|
|
||||||
publish-nuget:
|
publish-nuget:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -32,7 +38,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@main
|
- uses: actions/download-artifact@main
|
||||||
with:
|
with:
|
||||||
name: packages
|
merge-multiple: true
|
||||||
|
|
||||||
- name: Publish NuGet and symbols
|
- name: Publish NuGet and symbols
|
||||||
uses: edumserrano/nuget-push@v1.2.2
|
uses: edumserrano/nuget-push@v1.2.2
|
||||||
@@ -46,7 +52,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@main
|
- uses: actions/download-artifact@main
|
||||||
with:
|
with:
|
||||||
name: packages
|
merge-multiple: true
|
||||||
|
|
||||||
- name: dotnet nuget push
|
- name: dotnet nuget push
|
||||||
run: dotnet nuget push *.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/xfox111/index.json --skip-duplicate --no-symbols
|
run: dotnet nuget push *.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/xfox111/index.json --skip-duplicate --no-symbols
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ Feature-rich and flexible .NET library for implementation of OTP authenticators
|
|||||||
|
|
||||||
| Package | Info | Download |
|
| Package | Info | Download |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `EugeneFox.SimpleOTP` | [][nuget]<br />[][nuget] | [NuGet Gallery][nuget]<br />[GitHub Releases](https://github.com/xfox111/SimpleOTP/releases/latest) |
|
| `EugeneFox.SimpleOTP` | [][nuget]<br />[][nuget] | [NuGet Gallery][nuget]<br />[GitHub NuGet Registry][ghnr] |
|
||||||
| `EugeneFox.SimpleOTP.DependencyInjection` | [][nuget-di]<br />[][nuget-di] | [NuGet Gallery][nuget-di]<br />[GitHub Releases](https://github.com/xfox111/SimpleOTP/releases/latest) |
|
| `EugeneFox.SimpleOTP.DependencyInjection` | [][nuget-di]<br />[][nuget-di] | [NuGet Gallery][nuget-di]<br />[GitHub NuGet Registry][ghnr-di] |
|
||||||
|
|
||||||
Use these commands to install SimpleOTP package in your project:
|
Use these commands to install SimpleOTP package in your project:
|
||||||
```bash
|
```bash
|
||||||
@@ -36,7 +36,7 @@ Please refer to [project's Wiki](https://github.com/XFox111/SimpleOTP/wiki) for
|
|||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
[](https://github.com/xfox111/SimpleOTP/issues)
|
[](https://github.com/xfox111/SimpleOTP/issues)
|
||||||
[](https://github.com/XFox111/SimpleOTP/actions/workflows/cd_pipeline.yaml)
|
[](https://github.com/XFox111/SimpleOTP/actions/workflows/cd_pipeline.yaml)
|
||||||
[](https://github.com/xfox111/SimpleOTP)
|
[](https://github.com/xfox111/SimpleOTP)
|
||||||
|
|
||||||
There are many ways in which you can participate in the project, for example:
|
There are many ways in which you can participate in the project, for example:
|
||||||
@@ -59,4 +59,6 @@ If you are interested in fixing issues and contributing directly to the code bas
|
|||||||
[otpauth-ID]: https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-00.html
|
[otpauth-ID]: https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-00.html
|
||||||
[nuget]: https://www.nuget.org/packages/EugeneFox.SimpleOTP
|
[nuget]: https://www.nuget.org/packages/EugeneFox.SimpleOTP
|
||||||
[nuget-di]: https://www.nuget.org/packages/EugeneFox.SimpleOTP.DependencyInjection
|
[nuget-di]: https://www.nuget.org/packages/EugeneFox.SimpleOTP.DependencyInjection
|
||||||
|
[ghnr]: https://github.com/XFox111/SimpleOTP/pkgs/nuget/EugeneFox.SimpleOTP
|
||||||
|
[ghnr-di]: https://github.com/XFox111/SimpleOTP/pkgs/nuget/EugeneFox.SimpleOTP.DependencyInjection
|
||||||
[mit]: https://github.com/XFox111/SimpleOTP/blob/main/LICENSE
|
[mit]: https://github.com/XFox111/SimpleOTP/blob/main/LICENSE
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
|
||||||
<PackageReference Include="NUnit" Version="4.2.2" />
|
<PackageReference Include="NUnit" Version="4.2.2" />
|
||||||
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
|
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user