From 81d0f20373676b12257490e85b939063bf0f3efd Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sat, 21 Oct 2023 21:05:21 +0200 Subject: [PATCH] Update to template workflow --- .github/workflows/Process-PSModule.yml | 35 ++++---------------------- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index 7c39264..cb2eb1c 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -2,37 +2,12 @@ name: Process-PSModule on: push: - branches: - - '*' workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + jobs: Process-PSModule: - name: Process-PSModule - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v4 - - - name: Initialize-PSModule - uses: PSModule/Initialize-PSModule@main - with: - Verbose: true - - - name: Build-PSModule - uses: PSModule/Build-PSModule@main - with: - Verbose: true - - - name: Test-PSModule - uses: PSModule/Test-PSModule@main - with: - Verbose: true - - - name: Release-PSModule - uses: PSModule/Release-PSModule@main - with: - APIKey: ${{ secrets.APIKEY }} - Verbose: true - env: - GH_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication + uses: PSModule/Actions/.github/workflows/Process-PSModule.yml@main + secrets: inherit