File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1111 steps :
1212 - uses : actions/checkout@v4
1313 - name : Publish to PowerShell Gallery
14- run : docker run -v $GITHUB_WORKSPACE:/mount_point mcr.microsoft.com/dotnet/sdk:8.0 pwsh -Command Publish-PSResource -Path "/mount_point/DFIR-O365RC" -Repository "PSGallery" -ApiKey "${{ secrets.PSGALLERY_TOKEN }}" -SkipModuleManifestValidate $true
14+ env :
15+ APIKEY : ${{ secrets.PSGALLERY_TOKEN }}
16+ run : ./.github/workflows/publish_psgallery.ps1
17+ shell : pwsh
Original file line number Diff line number Diff line change 1+ # Workaround for known issue: https://github.com/PowerShell/PSResourceGet/issues/1806
2+ Get-PSResourceRepository | Out-Null
3+
4+ Publish-PSResource - Path " $Env: GITHUB_WORKSPACE \DFIR-O365RC" - Repository " PSGallery" - ApiKey $Env: APIKEY - SkipModuleManifestValidate:$true
Original file line number Diff line number Diff line change 77 RootModule = ' .\DFIR-O365RC.psm1'
88
99 # Version number of this module.
10- ModuleVersion = ' 2.2.0 '
10+ ModuleVersion = ' 2.2.1 '
1111
1212 # Supported PSEditions
1313 CompatiblePSEditions = ' Core' , ' Desktop'
109109 2.0.0 - Rework of the project: use of an application to do the log collection, instead of an authenticated user. Add Purview
110110 2.1.0 - Add Get-AADUsers
111111 2.2.0 - Get Purview results using Graph instead of PowerShell. Use ToJsonString() to fix case. Recover deleted items
112+ 2.2.1 - Fix PSGallery CI
112113 '
113114 } # End of PSData hashtable
114115 } # End of PrivateData hashtable
You can’t perform that action at this time.
0 commit comments