Skip to content

Commit

Permalink
👷 Updates Publish Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
brucificus committed Aug 25, 2023
1 parent 6c08acb commit eb83639
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:
- name: Publish Prerelease to PSGallery (WhatIf)
if: "${{ steps.gitversion_vars.outputs.PreReleaseTag != '' }}"
shell: pwsh
run: ./scripts/publish.ps1 -NUGET_KEY "abc" -Prerelease -WhatIf
run: ./build/publish.ps1 -NUGET_KEY "abc" -Prerelease -WhatIf
- name: Publish Release to PSGallery (WhatIf)
if: "${{ steps.gitversion_vars.outputs.PreReleaseTag == '' }}"
shell: pwsh
run: ./scripts/publish.ps1 -NUGET_KEY "abc" -WhatIf
run: ./build/publish.ps1 -NUGET_KEY "abc" -WhatIf

publish-psgallery-package:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -113,13 +113,13 @@ jobs:
shell: pwsh
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
run: ./scripts/publish.ps1 -NUGET_KEY "$env:NUGET_KEY" -Prerelease
run: ./build/publish.ps1 -NUGET_KEY "$env:NUGET_KEY" -Prerelease
- name: Publish Release to PSGallery
if: "${{ steps.gitversion_vars.outputs.PreReleaseTag == '' }}"
shell: pwsh
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
run: ./scripts/publish.ps1 -NUGET_KEY "$env:NUGET_KEY"
run: ./build/publish.ps1 -NUGET_KEY "$env:NUGET_KEY"

publish-github-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit eb83639

Please sign in to comment.