actions / setup-dotnet

Set up your GitHub Actions workflow with a specific version of the .NET core sdk
MIT License
950 stars 473 forks source link

Support global.json's rollForward latest* variants #538

Open js6pak opened 4 months ago

js6pak commented 4 months ago

Description: This PR is a cleaned up version of #481, which fixes 2 issues:

  1. In the original npm run build wasn't rerun so dist is stale there
  2. The tests that were added never passed successfully

There are 3 additional commits in this PR:

  1. https://github.com/actions/setup-dotnet/commit/b4737b42ef4939bca196a752410e007bbcda3ee6 which fixes the 6 minute delay on windows runners caused by clear-toolcache.ps1
  2. https://github.com/actions/setup-dotnet/commit/18b9c2a2769b108ffd036965ce138bf6993fc91b which makes sure the Uses an up to date bash download script test passes
  3. https://github.com/actions/setup-dotnet/commit/3f75cd0094569fa290b49ab70ef4cf769c406aef makes sure tests run even before the PR workflow is manually accepted, this can be dropped if needed

Related issue: Fixes #448, closes #481

Check list:

js6pak commented 3 months ago

@HarithaVattikuti