2023-07-25 21:08:38 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/dotnet/sdk/archive/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2024-01-01 21:11:34 +03:00
|
|
|
github: dotnet/sdk/tags
|
|
|
|
strip: /v/
|
2023-07-25 21:08:38 +03:00
|
|
|
|
|
|
|
warnings:
|
|
|
|
- vendored
|
|
|
|
|
|
|
|
runtime:
|
|
|
|
env:
|
|
|
|
DOTNET_ROOT: "{{prefix}}"
|
2023-07-27 18:41:46 +03:00
|
|
|
dependencies:
|
|
|
|
linux:
|
2024-01-25 00:57:06 +03:00
|
|
|
unicode.org: ^71
|
2023-07-25 21:08:38 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
curl.se: '*'
|
|
|
|
working-directory: ${{prefix}}
|
|
|
|
script:
|
2024-01-01 21:11:34 +03:00
|
|
|
- curl -L "https://dotnetcli.azureedge.net/dotnet/Sdk/{{version}}/dotnet-sdk-{{version}}-${PLATFORM}.tar.gz" | tar zxf -
|
2023-07-25 21:08:38 +03:00
|
|
|
- run: ln -s ../dotnet ./dotnet
|
|
|
|
working-directory: "{{prefix}}/bin"
|
|
|
|
env:
|
2024-01-01 21:11:34 +03:00
|
|
|
darwin/aarch64: { PLATFORM: osx-arm64 }
|
|
|
|
darwin/x86-64: { PLATFORM: osx-x64 }
|
|
|
|
linux/aarch64: { PLATFORM: linux-arm64 }
|
|
|
|
linux/x86-64: { PLATFORM: linux-x64 }
|
2023-07-25 21:08:38 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/dotnet
|
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- dotnet --version | grep {{version}}
|