Skip to content

Commit

Permalink
Merge pull request #13 from jcdcdev/dev/v13
Browse files Browse the repository at this point in the history
Dev/v13
  • Loading branch information
jcdcdev authored May 25, 2024
2 parents b57d64c + 1c56424 commit f9dc819
Show file tree
Hide file tree
Showing 160 changed files with 8,139 additions and 2,562 deletions.
5 changes: 2 additions & 3 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# jcdcdev.Umbraco.Core

[![Umbraco Version](https://img.shields.io/badge/Umbraco-10.4+-%233544B1?style=flat&logo=umbraco)](https://umbraco.com/products/umbraco-cms/)
[![NuGet](https://img.shields.io/nuget/vpre/jcdcdev.Umbraco.Core?color=0273B3)](https://www.nuget.org/packages/jcdcdev.Umbraco.Core)
[![GitHub license](https://img.shields.io/github/license/jcdcdev/jcdcdev.Umbraco.Core?color=8AB803)](https://github.com/jcdcdev/jcdcdev.Umbraco.Core/blob/main/LICENSE)
[![Downloads](https://img.shields.io/nuget/dt/jcdcdev.Umbraco.Core?color=cc9900)](https://www.nuget.org/packages/jcdcdev.Umbraco.Core/)
[![GitHub license](https://img.shields.io/github/license/jcdcdev/jcdcdev.Umbraco.Core?color=8AB803&label=License)](https://github.com/jcdcdev/jcdcdev.Umbraco.Core/blob/main/LICENSE)
[![NuGet Downloads](https://img.shields.io/nuget/dt/jcdcdev.Umbraco.Core?color=cc9900&label=NuGet)](https://www.nuget.org/packages/jcdcdev.Umbraco.Core/)

Core functionality used by my packages and projects

Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ on:
workflow_dispatch:
jobs:
metadata:
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@dev
build:
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main
runs-on: ubuntu-latest
needs:
- metadata
with:
project-name: ${{ needs.metadata.outputs.project-name }}
project-path: ${{ needs.metadata.outputs.project-path }}
steps:
- name: Build
uses: jcdcdev/jcdcdev.Umbraco.Github.Build@main
with:
project-name: ${{ needs.metadata.outputs.project-name}}
project-path: ${{ needs.metadata.outputs.project-path }}
umbraco-version: 13
37 changes: 21 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
name: 🚀 Release
on:
workflow_dispatch:
pull_request:
types: [ closed ]
jobs:
metadata:
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main
build:
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main
needs:
- metadata
with:
project-name: ${{ needs.metadata.outputs.project-name}}
project-path: ${{ needs.metadata.outputs.project-path }}
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@dev
release:
needs:
- build
runs-on: ubuntu-latest
permissions:
contents: write
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/release-template.yml@main
with:
artifact-name: ${{ needs.build.outputs.artifact-name }}
version: ${{ needs.build.outputs.version }}
secrets:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
needs:
- metadata
steps:
- name: Build
id: build
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Build@main
with:
project-name: ${{ needs.metadata.outputs.project-name}}
project-path: ${{ needs.metadata.outputs.project-path }}
umbraco-version: 13
- name: Release
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Release@main
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 }}
7 changes: 7 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>high</NuGetAuditLevel>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
</Project>
6 changes: 6 additions & 0 deletions src/NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="local" value="./artifacts"/>
</packageSources>
</configuration>
Loading

0 comments on commit f9dc819

Please sign in to comment.