diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6807eff..a649b31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,12 +46,12 @@ jobs: path: ./out/ - name: Publish Prerelease to PSGallery (WhatIf) if: steps.gitversion_vars.outputs.PreReleaseTag != '' - uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.2 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.6 with: run: ./build/publish.ps1 -NUGET_KEY "abc" -Prerelease -WhatIf - name: Publish Release to PSGallery (WhatIf) if: steps.gitversion_vars.outputs.PreReleaseTag == '' - uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.2 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.6 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/actions-invoke-lib-dependent-pwsh@v0.2.2 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.6 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/actions-invoke-lib-dependent-pwsh@v0.2.2 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.6 env: NUGET_KEY: ${{ secrets.NUGET_KEY }} with: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 822ac59..e8a7886 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -14,7 +14,7 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - name: Lint with PSScriptAnalyzer - uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.2 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.6 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/actions-invoke-lib-dependent-pwsh@v0.2.2 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.6 env: PackageVersionNuGet: ${{ steps.gitversion_vars.outputs.NuGetVersionV2 }} PackageVersionMajorMinorPatchBuild: ${{ steps.gitversion_vars.outputs.AssemblySemVer }} @@ -109,7 +109,7 @@ jobs: name: PSGallery-package path: ./out/ - name: Test with Pester - uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.2 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.6 with: run: ./build/test.ps1 -UsePackageExport -CI -OutputFilesPrefix "${{ matrix.os }}-" -NoFail:([bool]"${{ matrix.experimental }}") - name: "Create artifact: tests-${{ matrix.os }}"