Skip to content

Commit

Permalink
⬆️Upgrades Workflow Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brucificus committed Dec 16, 2024
1 parent 5c6e3cb commit 3cb613c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.10
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.0
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.10
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.0
with:
run: ./build/publish.ps1 -NUGET_KEY "abc" -WhatIf

Expand All @@ -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.10
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.0
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.10
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.0
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
with:
Expand All @@ -101,7 +101,7 @@ jobs:
mode: 'download'
- name: Get release notes
id: get-releasenotes
uses: pwshrc/actions-create-release-notes@v0.9.3
uses: pwshrc/actions-create-release-notes@v0.9.4
with:
mode: 'download'
github_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.10
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.0
with:
run: ./build/lint.ps1 -CI -NoFail:([bool]"${{ secrets.MANDATE_LINT_SUCCESS != 'true' }}")

Expand All @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Create release notes
uses: pwshrc/actions-create-release-notes@v0.9.3
uses: pwshrc/actions-create-release-notes@v0.9.4
with:
mode: 'upload'
github_token: "${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -53,12 +53,12 @@ jobs:
mode: 'download'
- name: Populate release notes
id: get-releasenotes
uses: pwshrc/actions-create-release-notes@v0.9.3
uses: pwshrc/actions-create-release-notes@v0.9.4
with:
mode: 'download'
github_token: "${{ secrets.GITHUB_TOKEN }}"
- name: Build PSGallery package
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.10
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.0
env:
PackageVersion: ${{ steps.gitversion_vars.outputs.NuGetVersionV2 }}
ModuleVersionMajor: ${{ steps.gitversion_vars.outputs.Major }}
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
name: PSGallery-package
path: ./out/
- name: Test with Pester
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.2.10
uses: pwshrc/actions-invoke-lib-dependent-pwsh@v0.3.0
with:
run: ./build/test.ps1 -UsePackageExport -CI -OutputFilesPrefix "${{ matrix.os }}-" -NoFail:([bool]"${{ matrix.experimental }}")
- name: "Create artifact: tests-${{ matrix.os }}"
Expand Down

0 comments on commit 3cb613c

Please sign in to comment.