Skip to content

Commit

Permalink
test action
Browse files Browse the repository at this point in the history
Signed-off-by: PixelRobots <22979170+PixelRobots@users.noreply.github.com>
  • Loading branch information
PixelRobots committed Sep 25, 2024
1 parent 00cfab2 commit b9ad8bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

# Set up PowerShell environment
- name: Setup PowerShell
uses: actions/setup-powershell@v2
with:
pwsh-version: '7.x'

# Validate the module (ensure it loads correctly)
- name: Validate PowerShell Module
run: |
Expand Down
6 changes: 3 additions & 3 deletions KubeTidy.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'KubeTidy.psm1'

# Version number of this module.
ModuleVersion = '0.0.2'
ModuleVersion = '0.0.4'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down Expand Up @@ -95,7 +95,7 @@ PrivateData = @{
PSData = @{

# Tags applied to this module. These help with module discovery in online galleries.
# Tags = @(Kubernetes Kubeconfig Cleanup)
Tags = @('Kubernetes', 'PowerShell', 'Windows', 'DevOps', 'KubeTidy', 'kubeconfig')

# A URL to the license for this module.
LicenseUri = 'https://github.com/PixelRobots/KubeTidy/blob/main/LICENSE'
Expand All @@ -116,7 +116,7 @@ PrivateData = @{
# RequireLicenseAcceptance = $false

# External dependent modules of this module
# ExternalModuleDependencies = @(powershell-yaml)
RequiredModules = @(@{ModuleName="powershell-yaml"; ModuleVersion="0.4.2"})

} # End of PSData hashtable

Expand Down
4 changes: 2 additions & 2 deletions KubeTidy.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
.NOTES
Script Name: KubeTidy
Author: Richard Hooper
Version: 0.1
Version: 0.4
.EXAMPLE
.\KubeTidy.ps1 -KubeConfigPath "$HOME\.kube\config" -ExclusionList "cluster1,cluster2,cluster3"
Invoke-KubeTidyCleanup -KubeConfigPath "$HOME\.kube\config" -ExclusionList "aks-prod-cluster,aks-staging-cluster""
#>

[CmdletBinding()]
Expand Down

0 comments on commit b9ad8bd

Please sign in to comment.