Skip to content

Commit

Permalink
Merge pull request #107 from leojonathanoh/enhancement/ci-add-powersh…
Browse files Browse the repository at this point in the history
…ell-7.4-test-job

Enhancement (ci): Add powershell 7.4 test job
  • Loading branch information
leojonathanoh authored Feb 1, 2024
2 parents ca0a2b7 + a99682c commit d6ae9b1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,19 @@ jobs:
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
test-powershell-7-4:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/powershell:7.4-ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Powershell version
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable'
- name: Test
run: |
pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1'
update-draft-release:
needs:
- test-powershell-5-1-windows-2019
Expand All @@ -127,6 +140,7 @@ jobs:
- test-powershell-7-1
- test-powershell-7-2
- test-powershell-7-3
- test-powershell-7-4
- test-publish-to-psgallery
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
Expand Down Expand Up @@ -172,6 +186,7 @@ jobs:
- test-powershell-7-1
- test-powershell-7-2
- test-powershell-7-3
- test-powershell-7-4
- test-publish-to-psgallery
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
Expand Down

0 comments on commit d6ae9b1

Please sign in to comment.