Using default action.yml results in error No usable version of the libssl was found
See original GitHub issueDescription: Im trying to use the default template suggested at https://docs.github.com/en/actions/guides/building-and-testing-net but am receiving an error when dotnet restore is run that no usable version of the libssl was found
Task version: Latest as per https://docs.github.com/en/actions/guides/building-and-testing-net
Platform:
- [1] Ubuntu
- macOS
- Windows
Runner type:
- [1] Hosted
- Self-hosted
Repro steps:
- Create action.yml in .github/workflowsdirectory with content ` name: dotnet build and test
on: [push]
jobs: build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '2.2.103', '3.0', '3.1.x', '5.0.x']
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
` 2. Push a commit to repro
Expected behavior: Action checks to complete successfully
Actual behavior:
dotnet restore fails for first check(dotnet version 2.2.103) with error
dotnet restore shell: /usr/bin/bash -e {0} env: DOTNET_ROOT: /home/runner/.dotnet No usable version of the libssl was found /home/runner/work/_temp/74f1720d-c0a1-436b-8f97-7b4d6b94cf73.sh: line 1: 1736 Aborted (core dumped) dotnet restore Error: Process completed with exit code 134.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
.NET Core 2.2 has been deprecated and is no longer supported. This might be the reason why.
EDIT: This seems to be an issue with the docs or the actions VMs and not the action itself, so I’m not sure if this is the right place to open this issue at.
@GGG-KILLER, thank you! Closed as resolved, needs to improve docs.