File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 25
25
Test-ModuleManifest -Path .\PSF.psd1 -Verbose -ErrorAction Stop
26
26
.\.ExecuteTests.ps1
27
27
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
-
36
28
deploy :
37
29
name : Tag and Deploy
38
30
runs-on : windows-2019
65
57
run : |
66
58
Update-ModuleManifest -Path .\PSF.psd1 -ModuleVersion ${{ steps.gitversion.outputs.MajorMinorPatch }}
67
59
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
+
68
68
- name : Publish to gallery
69
69
env :
70
70
NUGET_KEY : ${{ secrets.NUGET_KEY }}
71
71
shell : pwsh
72
72
run : |
73
- Publish-Module -Path . -NuGetApiKey $env:NUGET_KEY -Verbose
73
+ Publish-Module -Path ".\Modules\PSF\" -NuGetApiKey $env:NUGET_KEY -Verbose
You can’t perform that action at this time.
0 commit comments