Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 2 additions & 25 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,11 @@ Simple [ASP.NET Core Data Protection](https://learn.microsoft.com/en-us/aspnet/c

Data protection keys are stored in the Umbraco database.

> [!IMPORTANT]
> Version 15 will only receive security updates and no new features.
> [!WARNING]
> Version 15 is no longer supported and is End of Life (EOL).

> Please review the [security policy](https://github.com/jcdcdev/Umbraco.Community.DataProtection?tab=security-ov-file#supported-versions) for more information.

## Quick Start

```csharp
dotnet add package Umbraco.Community.DataProtection
```

```csharp title="Composer.cs"
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;

namespace Project.Web;

public class Composer : IComposer
{
public void Compose(IUmbracoBuilder builder)
{
builder.AddUmbracoDataProtection();
}
}
```



## Contributing

Contributions to this package are most welcome! Please visit the [Contributing](https://github.com/jcdcdev/Umbraco.Community.DataProtection/contribute) page.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Build
uses: jcdcdev/jcdcdev.Umbraco.Github.Build@main
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Build@v0
with:
project-name: Umbraco.Community.DataProtection
project-path: src/Umbraco.Community.DataProtection/Umbraco.Community.DataProtection.csproj
umbraco-version: 15
dotnet-version: "9"
dotnet-version: "9"
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 🚀 Release
on:
workflow_dispatch:
pull_request:
types: [ closed ]
types: [closed]
jobs:
release:
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
Expand All @@ -13,16 +13,16 @@ jobs:
steps:
- name: Build
id: build
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Build@main
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Build@v0
with:
project-name: Umbraco.Community.DataProtection
project-path: src/Umbraco.Community.DataProtection/Umbraco.Community.DataProtection.csproj
umbraco-version: 15
dotnet-version: "9"
- name: Release
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Release@main
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Release@v0
with:
artifact-name: ${{ steps.build.outputs.artifact-name }}
version: ${{ steps.build.outputs.version }}
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
Loading