File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 Name : ${{ fromJson(inputs.Settings).Name }}
4242 WorkingDirectory : ${{ fromJson(inputs.Settings).WorkingDirectory }}
4343
44- - name : Verify framework artifact root
45- if : ${{ github.repository == 'PSModule/Process-PSModule' }}
46- shell : pwsh
47- working-directory : ${{ fromJson(inputs.Settings).WorkingDirectory }}
48- run : |
49- if (-not (Test-Path -Path '.PSModule/docs')) {
50- throw 'Expected generated documentation at .PSModule/docs.'
51- }
52-
53- if (Test-Path -Path 'outputs') {
54- throw 'Legacy framework artifact path exists: outputs'
55- }
56-
5744 - name : Upload docs artifact
5845 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5946 with :
Original file line number Diff line number Diff line change 6060 Prerelease : ${{ fromJson(inputs.Settings).Publish.Module.Resolution.Prerelease }}
6161 ArtifactName : ${{ inputs.ArtifactName }}
6262 WorkingDirectory : ${{ fromJson(inputs.Settings).WorkingDirectory }}
63-
64- - name : Verify framework artifact root
65- if : ${{ github.repository == 'PSModule/Process-PSModule' }}
66- shell : pwsh
67- working-directory : ${{ fromJson(inputs.Settings).WorkingDirectory }}
68- run : |
69- if (-not (Test-Path -Path '.PSModule/module')) {
70- throw 'Expected built module at .PSModule/module.'
71- }
72-
73- if (Test-Path -Path 'outputs') {
74- throw 'Legacy framework artifact path exists: outputs'
75- }
Original file line number Diff line number Diff line change 5858 SitePath : ${{ fromJson(inputs.Settings).WorkingDirectory }}/.PSModule/site/_site
5959 WorkflowPath : _wf
6060
61- - name : Verify framework artifact root
62- if : ${{ github.repository == 'PSModule/Process-PSModule' }}
63- shell : pwsh
64- working-directory : ${{ fromJson(inputs.Settings).WorkingDirectory }}
65- run : |
66- if (-not (Test-Path -Path '.PSModule/site/_site')) {
67- throw 'Expected generated site at .PSModule/site/_site.'
68- }
69-
70- foreach ($legacyPath in @('outputs', '_site')) {
71- if (Test-Path -Path $legacyPath) {
72- throw "Legacy framework artifact path exists: $legacyPath"
73- }
74- }
75-
7661 - uses : actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
7762 with :
7863 name : github-pages
You can’t perform that action at this time.
0 commit comments