Skip to content

Commit f5eba0b

Browse files
🩹 [Patch]: Remove redundant actions (#170)
## Description This pull request simplifies the workflow configuration by removing the `Initialize-PSModule` step from two GitHub Actions workflows. This change reduces redundancy and streamlines the build and artifact download processes. Workflow updates: * [`.github/workflows/Build-Module.yml`](diffhunk://#diff-288da0616802a69b7e5aa63f771fe1525eda2ec5b576e26423f28380b2e68833L47-L55): Removed the `Initialize-PSModule` step, which previously set up the environment for building the module. * [`.github/workflows/workflow.yml`](diffhunk://#diff-126bf89616b7daa3d14ebc882ad18666aaf1c3dae888c4ba306a66ec80758bc1L276-L283): Removed the `Initialize-PSModule` step, which was used to prepare the environment before downloading module artifacts. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 0de5aa6 commit f5eba0b

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

.github/workflows/Build-Module.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ jobs:
4444
- name: Checkout Code
4545
uses: actions/checkout@v4
4646

47-
- name: Initialize environment
48-
uses: PSModule/Initialize-PSModule@v1
49-
with:
50-
Debug: ${{ inputs.Debug }}
51-
Prerelease: ${{ inputs.Prerelease }}
52-
Verbose: ${{ inputs.Verbose }}
53-
Version: ${{ inputs.Version }}
54-
WorkingDirectory: ${{ inputs.WorkingDirectory }}
55-
5647
- name: Build module
5748
uses: PSModule/Build-PSModule@v4
5849
with:

.github/workflows/workflow.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,6 @@ jobs:
273273
- name: Checkout Code
274274
uses: actions/checkout@v4
275275

276-
- name: Initialize environment
277-
uses: PSModule/Initialize-PSModule@v1
278-
with:
279-
Debug: ${{ inputs.Debug }}
280-
Prerelease: ${{ inputs.Prerelease }}
281-
Verbose: ${{ inputs.Verbose }}
282-
Version: ${{ inputs.Version }}
283-
284276
- name: Download module artifact
285277
uses: actions/download-artifact@v4
286278
with:

0 commit comments

Comments
 (0)