Skip to content

Commit

Permalink
Fix double registration under windows
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers committed Dec 18, 2024
1 parent c31945e commit 9882b90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,27 +449,27 @@ jobs:
distribution: ${{ matrix.jdk_vendor }}
java-version: ${{ matrix.jdk_version }}

- shell: pwsh
run: Register-PSRepository -Name Local_Nuget_Feed -SourceLocation $env:GITHUB_WORKSPACE\bin -PublishLocation $env:GITHUB_WORKSPACE\bin -InstallationPolicy Trusted

- if: ${{ matrix.os != 'windows-latest' }}
continue-on-error: true
shell: pwsh
run: |
Register-PSRepository -Name Local_Nuget_Feed -SourceLocation $env:GITHUB_WORKSPACE\bin -PublishLocation $env:GITHUB_WORKSPACE\bin -InstallationPolicy Trusted
Install-Module MASES.JNetPS -Repository Local_Nuget_Feed
${{ github.workspace }}/bin/JNetPSTest.ps1
- if: ${{ matrix.os == 'windows-latest' }}
continue-on-error: true
shell: pwsh
run: |
Register-PSRepository -Name Local_Nuget_Feed -SourceLocation $env:GITHUB_WORKSPACE\bin -PublishLocation $env:GITHUB_WORKSPACE\bin -InstallationPolicy Trusted
Install-Module MASES.JNetPS -Repository Local_Nuget_Feed
${{ github.workspace }}\bin\JNetPSTest.ps1
- if: ${{ matrix.os == 'windows-latest' }}
continue-on-error: true
shell: powershell
run: |
Register-PSRepository -Name Local_Nuget_Feed -SourceLocation $env:GITHUB_WORKSPACE\bin -PublishLocation $env:GITHUB_WORKSPACE\bin -InstallationPolicy Trusted
Install-Module MASES.JNetPS -Repository Local_Nuget_Feed
${{ github.workspace }}\bin\JNetPSTest.ps1
Expand Down

0 comments on commit 9882b90

Please sign in to comment.