diff --git a/.gitea/workflows/Publish Module.yaml b/.gitea/workflows/Publish Module.yaml index 476cf54..3cea7ea 100644 --- a/.gitea/workflows/Publish Module.yaml +++ b/.gitea/workflows/Publish Module.yaml @@ -72,7 +72,7 @@ jobs: Set-Location -Path ${{ github.workspace }} $moduleVersion = git describe --tags Write-Host "Module version: $moduleVersion" - $module = get-childItem -path . -Directory -Exclude ".*" | Select-Object -ExpandProperty Name + $module = get-childItem -path . -Directory -Exclude (".*", "Tests") | Select-Object -ExpandProperty Name Write-Host "Publishing module $module to Gitea" Publish-Module -Path $module -Repository 'GiteaPublic' -NuGetApiKey "${{ secrets.PACKAGES_TOKEN }}" Write-Host "Module $module published to Gitea"