Add additional e2e test
This commit is contained in:
parent
9246a37d28
commit
07be99e939
|
@ -66,3 +66,24 @@ jobs:
|
||||||
- name: List installed versions
|
- name: List installed versions
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: dotnet --list-sdks
|
run: dotnet --list-sdks
|
||||||
|
setup-version-already-installed:
|
||||||
|
runs-on: ${{ matrix.operating-system }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Clear toolcache
|
||||||
|
shell: pwsh
|
||||||
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
||||||
|
- name: Setup dotnet 6.0
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
dotnet-version: '6.0'
|
||||||
|
prefer-installed: true
|
||||||
|
- name: Verify installed version
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
__tests__/verify-dotnet.ps1 -Patterns "^6.0"
|
||||||
|
|
Loading…
Reference in New Issue