Skip to content

Commit

Permalink
pspreview6
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Nov 6, 2023
1 parent 4ea5935 commit dab7ff7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:
build:
runs-on: windows-latest
steps:

- name: HACK - Install Latest PowerShell (so we get v7.3+ that uses .net 7)
shell: pwsh
run: |
dotnet tool install --global PowerShell
cp ~/.dotnet/tools/pwsh.exe "C:/Program Files/PowerShell/7/pwsh.exe"
- name: Checkout
uses: actions/checkout@v3
with:
Expand All @@ -32,12 +40,6 @@ jobs:
with:
useConfigFile: true

- name: Install Latest PowerShell (so we get v7.3+ that uses .net 7)
shell: pwsh
run: |
dotnet tool install --global PowerShell
cp -r ~/.dotnet/tools/pwsh.exe "/Program Files/PowerShell/7/pwsh.exe"
- name: Build F7History v${{ steps.gitversion.outputs.FullSemVer }}
id: build
shell: C:\Users\runneradmin\.dotnet\tools\pwsh {0}
Expand Down

0 comments on commit dab7ff7

Please sign in to comment.