Test Multiple Arch #3
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 Multiple Arch | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| setup-dotnet: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Install .NET 6 on ARM64 | |
| run: | | |
| curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --runtime dotnet --version 6.0.0 --architecture arm64 --install-dir $HOME/.dotnet-arm64 | |
| - name: Verify .NET installation | |
| run: dotnet --info | |
| # - name: Add .NET to PATH | |
| # run: echo "$HOME/.dotnet" >> $GITHUB_PATH | |
| - name: Verify .NET installation | |
| run: dotnet --info | |
| - name: Install .NET 6 on x64 | |
| run: | | |
| curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --runtime dotnet --version 6.0.0 --architecture x64 --install-dir $HOME/.dotnet-x64 | |
| - name: Verify .NET installation | |
| run: dotnet --info | |