File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ name: Build .NET SDK
3
3
on :
4
4
workflow_dispatch :
5
5
inputs :
6
+ fork :
7
+ description : ' dotnet VMR fork name'
8
+ required : true
9
+ type : string
10
+ default : dotnet
6
11
branch :
7
12
description : ' dotnet VMR branch name'
8
13
required : true
@@ -26,16 +31,13 @@ jobs:
26
31
27
32
- name : Clone repository
28
33
run : |
29
- git clone --depth 1 -b ${{ inputs.branch }} https://github.com/dotnet /dotnet
34
+ git clone --single-branch -- depth 1 -b ${{ inputs.branch }} https://github.com/${{ inputs.fork }} /dotnet
30
35
31
36
- name : Build
32
37
run : |
33
38
docker run --platform linux/amd64 --rm -v${{ github.workspace }}/dotnet:/dotnet -w /dotnet -e ROOTFS_DIR=/crossrootfs/riscv64 \
34
39
mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-net10.0-cross-riscv64 \
35
- sh -c '
36
- ./prep-source-build.sh &&
37
- ./build.sh --clean-while-building -sb --os linux --arch riscv64 -p:DisableDevBuildAsDefaultForSourceOnly=true
38
- '
40
+ ./build.sh --clean-while-building --prep -sb --os linux --arch riscv64
39
41
40
42
- name : List assets directory
41
43
run : |
You can’t perform that action at this time.
0 commit comments