Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action versions #6

Merged
merged 1 commit into from
Feb 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build module - Debug
shell: pwsh
Expand All @@ -41,7 +41,7 @@ jobs:
PSMODULE_SIGNING_CERT_PASSWORD: ${{ secrets.PSMODULE_SIGNING_CERT_PASSWORD }}

- name: Capture PowerShell Module
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: PSModule
path: output/*.nupkg
Expand All @@ -66,10 +66,10 @@ jobs:
psversion: C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Restore Built PowerShell Module
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: PSModule
path: output
Expand Down Expand Up @@ -99,21 +99,21 @@ jobs:

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Unit Test Results (${{ matrix.info.name }})
path: ./output/TestResults/Pester.xml

- name: Upload Coverage Results
if: always() && !startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Coverage Results (${{ matrix.info.name }})
path: ./output/TestResults/Coverage.xml

- name: Upload Coverage to codecov
if: always() && !startsWith(github.ref, 'refs/tags/v')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
files: ./output/TestResults/Coverage.xml
flags: ${{ matrix.info.name }}
Expand All @@ -127,7 +127,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Restore Built PowerShell Module
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: PSModule
path: ./
Expand Down