We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4978e76 commit 9e4d99bCopy full SHA for 9e4d99b
.github/workflows/publishpackage.yml
@@ -12,6 +12,17 @@ jobs:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v4
15
+ - name: prepare and publish module
16
+ shell: pwsh
17
+ run: |
18
+ Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted
19
+ $data = Import-PowerShellDataFile .\code365scripts.openai\code365scripts.openai.psd1
20
+ if($data.RequiredModules) {
21
+ $data.RequiredModules | Foreach-Object {Install-Module -Name $_.ModuleName -RequiredVersion $_.ModuleVersion }
22
+ }
23
+ Remove-Item -Path ".git" -Recurse -Force
24
+ Remove-Item -Path ".github" -Recurse -Force
25
+ Remove-Item -Path ".vscode" -Recurse -Force
26
# - uses: dlemstra/code-sign-action@v1
27
# with:
28
# certificate: ${{ secrets.CERTIFICATE }}
0 commit comments