Skip to content

Commit

Permalink
updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Morrison committed Dec 8, 2023
1 parent 08a6be9 commit a0a019e
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 16 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/wf_Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-powershell
# https://github.com/actions/upload-artifact#where-does-the-upload-go
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-branches
name: pwshCloudCommands-Linux
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
branches-ignore:
- 'pipeline'
push:
paths-ignore:
- '**.md'
- 'docs/**'
branches-ignore:
- 'pipeline'
jobs:
Expand All @@ -22,7 +27,7 @@ jobs:
fail-fast: false
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Display the path
shell: pwsh
run: echo ${env:PATH}
Expand All @@ -40,14 +45,15 @@ jobs:
shell: pwsh
run: Invoke-Build -File .\src\pwshCloudCommands.build.ps1
- name: Upload pester results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pester-results
path: ./src/Artifacts/testOutput
if-no-files-found: warn
- name: Upload zip module archive build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: zip-archive
path: ./src/Archive
if-no-files-found: warn

14 changes: 10 additions & 4 deletions .github/workflows/wf_MacOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-powershell
# https://github.com/actions/upload-artifact#where-does-the-upload-go
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-branches
name: pwshCloudCommands-MacOS
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
branches-ignore:
- 'pipeline'
push:
paths-ignore:
- '**.md'
- 'docs/**'
branches-ignore:
- 'pipeline'
jobs:
Expand All @@ -22,7 +27,7 @@ jobs:
fail-fast: false
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Display the path
shell: pwsh
run: echo ${env:PATH}
Expand All @@ -40,14 +45,15 @@ jobs:
shell: pwsh
run: Invoke-Build -File .\src\pwshCloudCommands.build.ps1
- name: Upload pester results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pester-results
path: ./src/Artifacts/testOutput
if-no-files-found: warn
- name: Upload zip module archive build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: zip-archive
path: ./src/Archive
if-no-files-found: warn

14 changes: 10 additions & 4 deletions .github/workflows/wf_Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-powershell
# https://github.com/actions/upload-artifact#where-does-the-upload-go
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-branches
name: pwshCloudCommands-Windows
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
branches-ignore:
- 'pipeline'
push:
paths-ignore:
- '**.md'
- 'docs/**'
branches-ignore:
- 'pipeline'
jobs:
Expand All @@ -22,7 +27,7 @@ jobs:
fail-fast: false
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Display the path
shell: powershell
run: echo ${env:PATH}
Expand All @@ -46,14 +51,15 @@ jobs:
shell: powershell
run: Invoke-Build -File .\src\pwshCloudCommands.build.ps1
- name: Upload pester results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pester-results
path: .\src\Artifacts\testOutput
if-no-files-found: warn
- name: Upload zip module archive build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: zip-archive
path: .\src\Archive
if-no-files-found: warn

14 changes: 10 additions & 4 deletions .github/workflows/wf_Windows_Core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-powershell
# https://github.com/actions/upload-artifact#where-does-the-upload-go
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-branches
name: pwshCloudCommands-Windows-pwsh
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
branches-ignore:
- 'pipeline'
push:
paths-ignore:
- '**.md'
- 'docs/**'
branches-ignore:
- 'pipeline'
jobs:
Expand All @@ -22,7 +27,7 @@ jobs:
fail-fast: false
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Display the path
shell: pwsh
run: echo ${env:PATH}
Expand All @@ -40,14 +45,15 @@ jobs:
shell: pwsh
run: Invoke-Build -File .\src\pwshCloudCommands.build.ps1
- name: Upload pester results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pester-results
path: .\src\Artifacts\testOutput
if-no-files-found: warn
- name: Upload zip module archive build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: zip-archive
path: .\src\Archive
if-no-files-found: warn

0 comments on commit a0a019e

Please sign in to comment.