New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use .Net 6.0 preview #170
Comments
Specify the |
For preview 2, specifying the For any version, it's the sdk version from the release metadata. |
Yep, I normally always even on stable do the exact version from the release metadata. Although perhaps another option could be done: using a repository to simulate as if the specific software and versions the repository contains inside of a yaml file is default installed by the worker (CI) on the OS's that can be used with github actions. That way setup-dotnet would only need to add it to the path and be done, and then that repository for the "worker" to simulate it would only need a pull request to update the software and it will be updated for everyone that "subscribes" to use that "worker extension". So basically I would call it an github actions worker extension repository which would on the default branch make a new worker image (hosted by github and not self hosted), that just adds more software / more up to date software for it. So then the workflow for it would be as follows:
This seems to be a better option to me tbh than either:
And yes the worker would basically be a separate "drive" that would be mounted to points as if that software and version came preinstalled on the worker and acts as an extension for the base image, so then the extension would not have to worry about OS updates, or software updates on the base default worker. |
For preview3, this following works for me
|
v1.8.0 has been released which includes #110. - name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0'
include-prerelease: True |
@GGG-KILLER in this case does this auto resolve to whatever the latest public 6.0 preview release to the .NET SDK is then? |
Yes, it should |
Thank you @GGG-KILLER for his help! Closed. |
Description:
I'm trying to update my project with the preview version of .NET 6, but when I try to set the version on
setup-dotnet
to 6 it doesn't find the version to download.Task version:
actions/setup-dotnet@v1
Platform:
Runner type:
Repro steps:
My repo is private, but to reproduce just need to set the version to
6.0.0
or6.0.0-preview.1
Expected behavior:
It should download the sdk and setup all the env.
Actual behavior:
It doesn't find the preview, and show this error:
The text was updated successfully, but these errors were encountered: