Skip to content

Commit f2a7358

Browse files
authored
Merge pull request #6 from t3hn3rd/develop
Develop -> Master - Github Actions Hotfix PSMimeTypes missing from local machine when trying to publish to module to PSGallery - `publish.yml` updated to install this module prior to trying to publish.
2 parents 3379bc6 + e6d7ab3 commit f2a7358

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
Write-Host "✅ Would have published module to PSGallery."
6262
} else {
6363
Write-Host "⚙️ Publishing module to PSGallery..."
64+
Install-Module PSMimeTypes -Force
6465
$NuGetApiKey = "$($env:PS_GALLERY_KEY)"
6566
Publish-Module -Path PSMultipartFormData -NuGetApiKey $NuGetApiKey -Repository PSGallery
6667
Write-Host "✅ Module published to PSGallery."
@@ -118,4 +119,4 @@ jobs:
118119
run: echo "✅ No version change detected, skipping publish."
119120

120121
- name: Camo Purge
121-
uses: kevincobain2000/action-camo-purge@v1
122+
uses: kevincobain2000/action-camo-purge@v1

0 commit comments

Comments
 (0)