Skip to content

Commit

Permalink
ci: Last try dinner time
Browse files Browse the repository at this point in the history
  • Loading branch information
svrooij committed May 4, 2024
1 parent 304c0ed commit c1bc11e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
run: |
Import-Module Pester
Import-Module ./dist/WinTuner/WinTuner.psd1
./tests/run.ps1
./tests/WinTuner.Cmdlets.Tests/run.ps1
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
Expand All @@ -126,7 +126,7 @@ jobs:
name: πŸ“¦ Publish WinTuner to nuget
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: [test]
needs: [test, testps]
steps:
- name: πŸ‘¨β€πŸ’» Check-out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
name: πŸ“¦ Publish WinTuner to PowerShell Gallery
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: [test]
needs: [test, testps]
steps:
- name: πŸ‘¨β€πŸ’» Check-out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -210,12 +210,11 @@ jobs:
shell: pwsh
run: dotnet build ./src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj --configuration Release --no-restore -p:Version=$("${{ github.ref_name }}".Substring(1)) -o ./dist/WinTuner

- name: πŸ§ͺ Run tests (import module)
- name: πŸ§ͺ Import module
shell: pwsh
run: |
Import-Module ./dist/WinTuner/WinTuner.psd1
Get-Command -Module WinTuner
Get-Command -Module WinTuner | Select-Object -ExpandProperty Name | ForEach-Object { Get-Help -Name $_ -Full }
- name: πŸ“¦ Publish WinTuner to PowerShell Gallery
shell: pwsh
Expand Down

0 comments on commit c1bc11e

Please sign in to comment.