File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 3636 - name : Publish Module to PowerShell Gallery
3737 uses : pcgeek86/publish-powershell-module-action@v20
3838 continue-on-error : true
39- id : publish-module
39+ id : publish-modules
4040 with :
4141 NuGetApiKey : ${{ secrets.PS_GALLERY_KEY }}
42+
43+ - name : Warn if previous step failed
44+ if : steps.publish-modules.outcome == 'failure'
45+ run : |
46+ echo "::warning::Step 'publish-modules' failed but was ignored due to continue-on-error."
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ permissions:
3030 contents : read
3131
3232jobs :
33- build :
33+ validate :
3434 permissions :
3535 contents : read # for actions/checkout to fetch code
3636 security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
You can’t perform that action at this time.
0 commit comments