diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml new file mode 100644 index 0000000..7c39264 --- /dev/null +++ b/.github/workflows/Process-PSModule.yml @@ -0,0 +1,38 @@ +name: Process-PSModule + +on: + push: + branches: + - '*' + workflow_dispatch: + +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 diff --git a/.github/workflows/Publish.PublicIP.yml b/.github/workflows/Publish.PublicIP.yml deleted file mode 100644 index b73bfbd..0000000 --- a/.github/workflows/Publish.PublicIP.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Publish [PublicIP] - -on: - push: - branches: - - '*' - workflow_dispatch: - -jobs: - BuildModule: - name: Build Module - runs-on: ubuntu-latest - env: - GH_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication - steps: - - name: Checkout Code - uses: actions/checkout@v4 - - - name: Build Module - uses: PSModule/Build-Module@main - with: - Verbose: true - - - name: Test Module - uses: PSModule/Test-Module@main - with: - Verbose: true - - - name: Release Module - uses: PSModule/Release-Module@main - with: - APIKey: ${{ secrets.APIKEY }} - Verbose: true