You've already forked setup-dotnet
mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-11-25 08:38:37 +07:00
* Bump actions/publish-action from 0.3.0 to 0.4.0 Bumps [actions/publish-action](https://github.com/actions/publish-action) from 0.3.0 to 0.4.0. - [Commits](https://github.com/actions/publish-action/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: actions/publish-action dependency-version: 0.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump actions/publish-action from 0.3.0 to 0.4.0 Bumps [actions/publish-action](https://github.com/actions/publish-action) from 0.3.0 to 0.4.0. - [Commits](https://github.com/actions/publish-action/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: actions/publish-action dependency-version: 0.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Installer script updates * Update macos-13 to macos-15-intel --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com> Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
43 lines
995 B
YAML
43 lines
995 B
YAML
name: Validate dotnet
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
push:
|
|
branches:
|
|
- main
|
|
- releases/*
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
setup-version:
|
|
runs-on: ${{ matrix.operating-system }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
operating-system:
|
|
[
|
|
ubuntu-latest,
|
|
ubuntu-22.04,
|
|
windows-latest,
|
|
macos-15-intel,
|
|
macos-latest
|
|
]
|
|
dotnet-version: ['6.0', '7.0', '8.0', '9.0']
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
- name: Clear toolcache
|
|
shell: pwsh
|
|
run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
|
|
- name: Setup dotnet ${{ matrix.dotnet-version }}
|
|
uses: ./
|
|
with:
|
|
dotnet-version: ${{ matrix.dotnet-version }}
|
|
- name: Verify installed version
|
|
shell: pwsh
|
|
run: |
|
|
__tests__/verify-dotnet.ps1 -Patterns "^${{ matrix.dotnet-version }}"
|