mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-25 12:53:06 +07:00
Add additional e2e test
This commit is contained in:
parent
9246a37d28
commit
07be99e939
21
.github/workflows/test-dotnet.yml
vendored
21
.github/workflows/test-dotnet.yml
vendored
@ -66,3 +66,24 @@ jobs:
|
||||
- name: List installed versions
|
||||
shell: pwsh
|
||||
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
Block a user