Skip to content

Commit b02e734

Browse files
committed
+changelog-ignore:
1 parent 9ecd287 commit b02e734

File tree

2 files changed

+30
-21
lines changed

2 files changed

+30
-21
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ on:
55
workflow_dispatch:
66
jobs:
77
metadata:
8-
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main
8+
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@dev
99
build:
10-
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main
10+
runs-on: ubuntu-latest
1111
needs:
1212
- metadata
13-
with:
14-
project-name: ${{ needs.metadata.outputs.project-name }}
15-
project-path: ${{ needs.metadata.outputs.project-path }}
13+
steps:
14+
- name: Build
15+
uses: jcdcdev/jcdcdev.Umbraco.Github.Build@main
16+
with:
17+
project-name: ${{ needs.metadata.outputs.project-name}}
18+
project-path: ${{ needs.metadata.outputs.project-path }}
19+
umbraco-version: UMBRACO_VERSION

.github/workflows/release.yml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
name: 🚀 Release
22
on:
33
workflow_dispatch:
4+
pull_request:
5+
types: [ closed ]
46
jobs:
57
metadata:
6-
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@main
7-
build:
8-
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/build-template.yml@main
9-
needs:
10-
- metadata
11-
with:
12-
project-name: ${{ needs.metadata.outputs.project-name }}
13-
project-path: ${{ needs.metadata.outputs.project-path }}
8+
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/generate-project-metadata.yml@dev
149
release:
15-
needs:
16-
- build
10+
runs-on: ubuntu-latest
1711
permissions:
1812
contents: write
19-
uses: jcdcdev/jcdcdev.Github.UmbracoSimpleDeploy/.github/workflows/release-template.yml@main
20-
with:
21-
artifact-name: ${{ needs.build.outputs.artifact-name }}
22-
version: ${{ needs.build.outputs.version }}
23-
secrets:
24-
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
13+
needs:
14+
- metadata
15+
steps:
16+
- name: Build
17+
id: build
18+
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Build@main
19+
with:
20+
project-name: ${{ needs.metadata.outputs.project-name}}
21+
project-path: ${{ needs.metadata.outputs.project-path }}
22+
umbraco-version: UMBRACO_VERSION
23+
- name: Release
24+
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Release@main
25+
with:
26+
artifact-name: ${{ steps.build.outputs.artifact-name }}
27+
version: ${{ steps.build.outputs.version }}
28+
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
29+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)