diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb2712d..19bdbd5 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.3.0 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.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/actions-invoke-lib-dependent-pwsh@v0.3.0 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.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/actions-invoke-lib-dependent-pwsh@v0.3.0 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.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/actions-invoke-lib-dependent-pwsh@v0.3.0 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.1 env: NUGET_KEY: ${{ secrets.NUGET_KEY }} with: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a210b0b..75c2a8f 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -14,7 +14,7 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 - name: Lint with PSScriptAnalyzer - uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.0 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.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/actions-invoke-lib-dependent-pwsh@v0.3.0 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.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/actions-invoke-lib-dependent-pwsh@v0.3.0 + uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.1 with: run: ./build/test.ps1 -UsePackageExport -CI -OutputFilesPrefix "${{ matrix.os }}-" -NoFail:([bool]"${{ matrix.experimental }}") - name: "Create artifact: tests-${{ matrix.os }}"