Skip to content

Commit

Permalink
ci: Wrong Shell
Browse files Browse the repository at this point in the history
  • Loading branch information
svrooij committed May 4, 2024
1 parent 640f7aa commit 8214d23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,14 @@ jobs:

- name: 🛠️ Build module
shell: pwsh
run: dotnet build ./src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj --configuration Release --no-restore -p:Version="0.0.1-dev" -o ./dist/WinTuner
run:
$module = Get-Content -Path src/Svrooij.WinTuner.CmdLets/WinTuner.psd1
$module = $module -replace 'ModuleVersion = ''\d+\.\d+\.\d+''', "ModuleVersion = '0.0.1-dev'"
$module | Set-Content -Path src/Svrooij.WinTuner.CmdLets/WinTuner.psd1
dotnet build ./src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj --configuration Release --no-restore -p:Version="0.0.1-dev" -o ./dist/WinTuner

- name: 📦 Install Pester
shell: pwsh
run: Install-Module -Name Pester -Force -SkipPublisherCheck -Scope CurrentUser

- name: 🕵️ Import module and list commands
Expand Down

0 comments on commit 8214d23

Please sign in to comment.