Skip to content

Commit 62cfc83

Browse files
committed
ci: update module path
1 parent da8d1ec commit 62cfc83

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ jobs:
2525
Test-ModuleManifest -Path .\PSF.psd1 -Verbose -ErrorAction Stop
2626
.\.ExecuteTests.ps1
2727
28-
# - name: Copy files to staging directory
29-
# shell: pwsh
30-
# run: |
31-
# $DestPath = "C:\Users\appveyor\Documents\WindowsPowerShell\Modules\PSF\"
32-
# New-Item -Path $DestPath -Type Directory -Force
33-
# Copy-Item .\PSF.ps* $DestPath
34-
# Copy-Item .\functions $DestPath -Recurse
35-
3628
deploy:
3729
name: Tag and Deploy
3830
runs-on: windows-2019
@@ -65,9 +57,17 @@ jobs:
6557
run: |
6658
Update-ModuleManifest -Path .\PSF.psd1 -ModuleVersion ${{ steps.gitversion.outputs.MajorMinorPatch }}
6759
60+
- name: Copy files to staging directory
61+
shell: pwsh
62+
run: |
63+
$DestPath = ".\Modules\PSF\"
64+
New-Item -Path $DestPath -Type Directory -Force
65+
Copy-Item .\PSF.ps* $DestPath
66+
Copy-Item .\functions $DestPath -Recurse
67+
6868
- name: Publish to gallery
6969
env:
7070
NUGET_KEY: ${{ secrets.NUGET_KEY }}
7171
shell: pwsh
7272
run: |
73-
Publish-Module -Path . -NuGetApiKey $env:NUGET_KEY -Verbose
73+
Publish-Module -Path ".\Modules\PSF\" -NuGetApiKey $env:NUGET_KEY -Verbose

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy