Test #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8 | |
| env: | |
| DOTNET_TOOLS_DIR: ~/.dotnet/tools | |
| steps: | |
| - name : Download dotnet install scripts | |
| shell: bash | |
| run: | | |
| wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh | |
| chmod u+x ./dotnet-install.sh | |
| - name: Install .NET SDK and dotnet-symbol | |
| shell: bash | |
| run: | | |
| mkdir -p dotnet-sdk | |
| ./dotnet-install.sh --os linux --install-dir dotnet-sdk | |
| chmod u+x dotnet-sdk/dotnet | |
| dotnet-sdk/dotnet new tool-manifest | |
| dotnet-sdk/dotnet tool install dotnet-symbol --global | |
| - name: Test | |
| shell: bash | |
| run: | | |
| DOTNET_ROOT=$(cd dotnet-sdk ; pwd) | |
| #dotnet-sdk/dotnet --list-runtimes | |
| dotnet-sdk/dotnet tool list --global | |
| dotnet-sdk/dotnet tool run symbol * | |