From 9f25aaf3247aaaf97d7fcf6869e769d50d609166 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood nkdAgility.com" Date: Mon, 1 Jul 2024 17:56:31 +0100 Subject: [PATCH 1/2] Update --- .github/workflows/main.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 02d25fa..335e207 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,7 +54,19 @@ jobs: with: name: AzureDevOpsWorkItemClone path: ./output/* - + + Wiki: + runs-on: ubuntu-latest + needs: [build, Setup] + if: ${{ success() && ( needs.Setup.outputs.GitVersion_PreReleaseLabel == 'Preview' || needs.Setup.outputs.GitVersion_PreReleaseLabel == '' ) }} + steps: + - uses: actions/checkout@v3 + - uses: spenserblack/actions-wiki@ + with: + # Whatever directory you choose will be mirrored to the GitHub + # .wiki.git. The default is .github/wiki. + path: docs + release: runs-on: ubuntu-latest needs: [build, Setup] From 9c8540142507091b904475dbed30340c4a28efe1 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood nkdAgility.com" Date: Mon, 1 Jul 2024 17:58:38 +0100 Subject: [PATCH 2/2] Update --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 335e207..dfebea3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ on: jobs: Setup: - name: Setup + name: "Setup & Configuration" runs-on: ubuntu-latest outputs: GitVersion_BranchName: ${{ steps.gitversion.outputs.GitVersion_BranchName }} @@ -28,6 +28,7 @@ jobs: with: useConfigFile: true build: + name: "Build & Test" runs-on: ubuntu-latest needs: Setup steps: @@ -56,6 +57,7 @@ jobs: path: ./output/* Wiki: + name: "Release to GitHub Wiki" runs-on: ubuntu-latest needs: [build, Setup] if: ${{ success() && ( needs.Setup.outputs.GitVersion_PreReleaseLabel == 'Preview' || needs.Setup.outputs.GitVersion_PreReleaseLabel == '' ) }} @@ -68,6 +70,7 @@ jobs: path: docs release: + name: "Release to GitHub Releases" runs-on: ubuntu-latest needs: [build, Setup] if: ${{ success() && ( needs.Setup.outputs.GitVersion_PreReleaseLabel == 'Preview' || needs.Setup.outputs.GitVersion_PreReleaseLabel == '' ) }}