Skip to content

Commit

Permalink
feature: v10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed May 25, 2024
1 parent 9acf6b6 commit 0ec2550
Show file tree
Hide file tree
Showing 236 changed files with 9,599 additions and 16,038 deletions.
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: 10
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: 10
- 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 }}
Loading

0 comments on commit 0ec2550

Please sign in to comment.