Skip to content

Commit a115e17

Browse files
committed
Change how the action is passing the secret
1 parent 65d937f commit a115e17

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/Deploy.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ jobs:
8686
git commit -m "[skip ci] Commit from build agent"
8787
git push
8888
- name: Publish To Gallery
89-
env:
90-
API_KEY: ${{ secrets.POWERSHELL_GALLERY_API_KEY }}
9189
run: |
9290
if(!(Test-Path StagingChangedModules)) {
9391
Write-Host "No modules changed"
@@ -96,5 +94,5 @@ jobs:
9694
}
9795
$moduleFolders = Get-ChildItem StagingChangedModules
9896
foreach ($item in $moduleFolders){
99-
Publish-Module -Path $item.FullName -NuGetApiKey $env:API_KEY -Verbose
97+
Publish-Module -Path $item.FullName -NuGetApiKey ${{ secrets.POWERSHELL_GALLERY_API_KEY }} -Verbose
10098
}

Modules/IntelliTect.MicrosoftWord/IntelliTect.MicrosoftWord.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = './IntelliTect.MicrosoftWord.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.5.0.9'
15+
ModuleVersion = '0.5.0.10'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

0 commit comments

Comments
 (0)