-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd3bcc3
commit 5301142
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,12 +46,12 @@ jobs: | |
path: ./out/ | ||
- name: Publish Prerelease to PSGallery (WhatIf) | ||
if: steps.gitversion_vars.outputs.PreReleaseTag != '' | ||
uses: pwshrc/[email protected].0 | ||
uses: pwshrc/[email protected].1 | ||
with: | ||
run: ./build/publish.ps1 -NUGET_KEY "abc" -Prerelease -WhatIf | ||
- name: Publish Release to PSGallery (WhatIf) | ||
if: steps.gitversion_vars.outputs.PreReleaseTag == '' | ||
uses: pwshrc/[email protected].0 | ||
uses: pwshrc/[email protected].1 | ||
with: | ||
run: ./build/publish.ps1 -NUGET_KEY "abc" -WhatIf | ||
|
||
|
@@ -74,14 +74,14 @@ jobs: | |
path: ./out/ | ||
- name: Publish Prerelease to PSGallery | ||
if: steps.gitversion_vars.outputs.PreReleaseTag != '' | ||
uses: pwshrc/[email protected].0 | ||
uses: pwshrc/[email protected].1 | ||
env: | ||
NUGET_KEY: ${{ secrets.NUGET_KEY }} | ||
with: | ||
run: ./build/publish.ps1 -NUGET_KEY "$env:NUGET_KEY" -Prerelease | ||
- name: Publish Release to PSGallery | ||
if: steps.gitversion_vars.outputs.PreReleaseTag == '' | ||
uses: pwshrc/[email protected].0 | ||
uses: pwshrc/[email protected].1 | ||
env: | ||
NUGET_KEY: ${{ secrets.NUGET_KEY }} | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- name: Lint with PSScriptAnalyzer | ||
uses: pwshrc/[email protected].0 | ||
uses: pwshrc/[email protected].1 | ||
with: | ||
run: ./build/lint.ps1 -CI -NoFail:([bool]"${{ secrets.MANDATE_LINT_SUCCESS != 'true' }}") | ||
|
||
|
@@ -58,7 +58,7 @@ jobs: | |
mode: 'download' | ||
github_token: "${{ secrets.GITHUB_TOKEN }}" | ||
- name: Build PSGallery package | ||
uses: pwshrc/[email protected].0 | ||
uses: pwshrc/[email protected].1 | ||
env: | ||
PackageVersion: ${{ steps.gitversion_vars.outputs.NuGetVersionV2 }} | ||
ModuleVersionMajor: ${{ steps.gitversion_vars.outputs.Major }} | ||
|
@@ -112,7 +112,7 @@ jobs: | |
name: PSGallery-package | ||
path: ./out/ | ||
- name: Test with Pester | ||
uses: pwshrc/[email protected].0 | ||
uses: pwshrc/[email protected].1 | ||
with: | ||
run: ./build/test.ps1 -UsePackageExport -CI -OutputFilesPrefix "${{ matrix.os }}-" -NoFail:([bool]"${{ matrix.experimental }}") | ||
- name: "Create artifact: tests-${{ matrix.os }}" | ||
|