From 0d3eedf34903f6176c220e9c1e2fcb09dc6b5e59 Mon Sep 17 00:00:00 2001 From: Bruce Markham <219281+brucificus@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:38:34 -0500 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8FUpgrades=20Workflow=20Depende?= =?UTF-8?q?ncies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 8 ++++---- .github/workflows/validate.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) 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 }}"