Skip to content

Commit

Permalink
Release v1.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Nov 6, 2023
1 parent 6409c4b commit 2b01e67
Showing 1 changed file with 10 additions and 24 deletions.
34 changes: 10 additions & 24 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@ jobs:
shell: pwsh
run: |
dotnet tool install --global PowerShell
$prependText = $HOME + "/.dotnet/tools"
$filePath = $env:GITHUB_PATH
$content = Get-Content -Path $filePath
$newContent = $prependText + "`r`n" + $content
$newContent | Set-Content -Path $filePath -Encoding utf8
$newContent
$content = Get-Content -Path $env:GITHUB_PATH
$HOME + "/.dotnet/tools`r`n" + $content | Set-Content -Path $env:GITHUB_PATH -Encoding utf8
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -95,13 +91,9 @@ jobs:
- name: HACK - Install Latest PowerShell (so we get v7.3+ that uses .net 7)
shell: pwsh
run: |
dotnet tool install --global PowerShell
$prependText = $HOME + "/.dotnet/tools"
$filePath = $env:GITHUB_PATH
$content = Get-Content -Path $filePath
$newContent = $prependText + "`r`n" + $content
$newContent | Set-Content -Path $filePath -Encoding utf8
$newContent
dotnet tool install --global PowerShell
$content = Get-Content -Path $env:GITHUB_PATH
$HOME + "/.dotnet/tools`r`n" + $content | Set-Content -Path $env:GITHUB_PATH -Encoding utf8
- name: Download Build Output
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -129,12 +121,6 @@ jobs:
$config.CodeCoverage.Enabled = $true
$config.CodeCoverage.OutputPath = "./coverage.xml"
Invoke-Pester -Configuration $config
# uses: PoshCode/Actions/pester@v1
# with:
# pesterVersion: "5.5.0"
# codeCoveragePath: Modules/F7History
# moduleUnderTest: F7History
# additionalModulePaths: ${{github.workspace}}/Modules
- name: Publish Test Results
uses: zyborg/dotnet-tests-report@v1
Expand All @@ -161,11 +147,11 @@ jobs:
# run: ls -R

# see https://github.com/Jaykul/RequiredModules/issues/6
- name: Manually Install Modules F7History is dependent on
shell: pwsh
run: |
Install-Module -Name Microsoft.PowerShell.ConsoleGuiTools -Force -SkipPublisherCheck -Scope CurrentUser
Install-Module -Name PSReadLine -Force -SkipPublisherCheck -Scope CurrentUser
# - name: Manually Install Modules F7History is dependent on
# shell: pwsh
# run: |
# Install-Module -Name Microsoft.PowerShell.ConsoleGuiTools -Force -SkipPublisherCheck -Scope CurrentUser
# Install-Module -Name PSReadLine -Force -SkipPublisherCheck -Scope CurrentUser

- name: Publish Module to PowerShell Gallery
shell: pwsh
Expand Down

0 comments on commit 2b01e67

Please sign in to comment.