v2.0.2
🩹 [Patch]: Remove reliance on GitHub (#51)
Description
This pull request introduces several updates to streamline the PowerShell module publishing process and enhance logging functionality. Key changes include replacing LogGroup with Set-GitHubLogGroup for improved GitHub-specific logging, simplifying the action.yml configuration, and refining the Publish-PSModule script to focus solely on publishing to the PowerShell Gallery.
Updates to action.yml Configuration:
- Switched from using
GitHub-Scriptto running the script directly withpwshshell, enabling better control over the execution environment. ([[1]](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L86-R87),[[2]](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L102-R103))
Enhancements to Logging:
- Replaced all instances of
LogGroupwithSet-GitHubLogGroupinscripts/helpers/Publish-PSModule.ps1andscripts/main.ps1for improved GitHub-specific structured logging. ([[1]](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L36-R36),[[2]](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L62-R73),[[3]](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L21-R28), and others)
Refinements to Publish-PSModule Script:
- Updated the
.DESCRIPTIONand.SYNOPSISsections to remove references to GitHub Pages, focusing exclusively on publishing modules to the PowerShell Gallery. ([scripts/helpers/Publish-PSModule.ps1L4-R7](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L4-R7)) - Removed redundant GitHub Pages functionality, simplifying the script logic. (
[scripts/helpers/Publish-PSModule.ps1L4-R7](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L4-R7))
Type of change
- 📖 [Docs]
- 🪲 [Fix]
- 🩹 [Patch]
-
⚠️ [Security fix] - 🚀 [Feature]
- 🌟 [Breaking change]
Checklist
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas