From 56770d61956792b70896a31abe93ef62fe9ebe16 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 1 Jun 2025 23:13:22 +0200 Subject: [PATCH 1/6] =?UTF-8?q?=F0=9F=AA=B2=20[Fix]:=20Remove=20redundant?= =?UTF-8?q?=20environment=20initialization=20step=20in=20workflows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Build-Module.yml | 9 --------- .github/workflows/workflow.yml | 8 -------- 2 files changed, 17 deletions(-) diff --git a/.github/workflows/Build-Module.yml b/.github/workflows/Build-Module.yml index b61fd893..23d4ef3b 100644 --- a/.github/workflows/Build-Module.yml +++ b/.github/workflows/Build-Module.yml @@ -44,15 +44,6 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 - - name: Initialize environment - uses: PSModule/Initialize-PSModule@v1 - with: - Debug: ${{ inputs.Debug }} - Prerelease: ${{ inputs.Prerelease }} - Verbose: ${{ inputs.Verbose }} - Version: ${{ inputs.Version }} - WorkingDirectory: ${{ inputs.WorkingDirectory }} - - name: Build module uses: PSModule/Build-PSModule@v4 with: diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 79b22623..3b0e331a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -273,14 +273,6 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 - - name: Initialize environment - uses: PSModule/Initialize-PSModule@v1 - with: - Debug: ${{ inputs.Debug }} - Prerelease: ${{ inputs.Prerelease }} - Verbose: ${{ inputs.Verbose }} - Version: ${{ inputs.Version }} - - name: Download module artifact uses: actions/download-artifact@v4 with: From 7c4b8d1996ddf7cf54cb6199ccbc193104b7aeb4 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 1 Jun 2025 23:53:31 +0200 Subject: [PATCH 2/6] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Add=20blank=20lin?= =?UTF-8?q?e=20for=20improved=20readability=20in=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 28259b48..677a4db6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Process-PSModule + A workflow for crafting PowerShell modules using the PSModule framework, which builds, tests and publishes PowerShell modules to the PowerShell Gallery and produces documentation that is published to GitHub Pages. The workflow is used by all PowerShell modules in the PSModule organization. From c9849731883bbf895fb1fd9685fec94def1379bd Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 1 Jun 2025 23:59:19 +0200 Subject: [PATCH 3/6] =?UTF-8?q?=F0=9F=AA=B2=20[Fix]:=20Update=20Build-PSMo?= =?UTF-8?q?dule=20action=20to=20use=20'removeInit'=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Build-Module.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build-Module.yml b/.github/workflows/Build-Module.yml index 23d4ef3b..6d6e42ac 100644 --- a/.github/workflows/Build-Module.yml +++ b/.github/workflows/Build-Module.yml @@ -45,7 +45,7 @@ jobs: uses: actions/checkout@v4 - name: Build module - uses: PSModule/Build-PSModule@v4 + uses: PSModule/Build-PSModule@removeInit with: Name: ${{ inputs.Name }} Debug: ${{ inputs.Debug }} From e56f4baa5a3a2553269a813b8045e637d2ed58c5 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Mon, 2 Jun 2025 00:54:41 +0200 Subject: [PATCH 4/6] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Remove=20unnecess?= =?UTF-8?q?ary=20blank=20line=20in=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 677a4db6..28259b48 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Process-PSModule - A workflow for crafting PowerShell modules using the PSModule framework, which builds, tests and publishes PowerShell modules to the PowerShell Gallery and produces documentation that is published to GitHub Pages. The workflow is used by all PowerShell modules in the PSModule organization. From e15daec51316ac6e2c8e53983c087a5f21d51efa Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Mon, 2 Jun 2025 01:02:59 +0200 Subject: [PATCH 5/6] =?UTF-8?q?=F0=9F=AA=B2=20[Fix]:=20Update=20Publish-PS?= =?UTF-8?q?Module=20action=20to=20use=20'removeInit'=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 3b0e331a..f9f302e1 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -285,7 +285,7 @@ jobs: Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery -TrustRepository - name: Publish module - uses: PSModule/Publish-PSModule@v2 + uses: PSModule/Publish-PSModule@removeInit with: Name: ${{ fromJson(needs.Get-Settings.outputs.Settings).Name }} ModulePath: ${{ inputs.WorkingDirectory }}/outputs/module From 81fc9143369cde472052f675302e88656665a5cf Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Mon, 2 Jun 2025 01:33:25 +0200 Subject: [PATCH 6/6] =?UTF-8?q?=F0=9F=AA=B2=20[Fix]:=20Update=20Build=20an?= =?UTF-8?q?d=20Publish=20actions=20to=20use=20specific=20version=20tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Build-Module.yml | 2 +- .github/workflows/workflow.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build-Module.yml b/.github/workflows/Build-Module.yml index 6d6e42ac..23d4ef3b 100644 --- a/.github/workflows/Build-Module.yml +++ b/.github/workflows/Build-Module.yml @@ -45,7 +45,7 @@ jobs: uses: actions/checkout@v4 - name: Build module - uses: PSModule/Build-PSModule@removeInit + uses: PSModule/Build-PSModule@v4 with: Name: ${{ inputs.Name }} Debug: ${{ inputs.Debug }} diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index f9f302e1..3b0e331a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -285,7 +285,7 @@ jobs: Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery -TrustRepository - name: Publish module - uses: PSModule/Publish-PSModule@removeInit + uses: PSModule/Publish-PSModule@v2 with: Name: ${{ fromJson(needs.Get-Settings.outputs.Settings).Name }} ModulePath: ${{ inputs.WorkingDirectory }}/outputs/module