From 17dfdd2ecaaa02b4aa5898e1165cd548a75bbed6 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sat, 14 Oct 2023 13:04:10 +0200 Subject: [PATCH] Use new PSModule pipeline --- .github/workflows/Process-PSModule.yml | 38 ++++++++++++++++++++++++++ .github/workflows/Publish.PublicIP.yml | 33 ---------------------- 2 files changed, 38 insertions(+), 33 deletions(-) create mode 100644 .github/workflows/Process-PSModule.yml delete mode 100644 .github/workflows/Publish.PublicIP.yml 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