File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 1010 steps :
1111 - name : Test runtime build
1212 run : |
13- git clone https://github.com/am11 /runtime --single-branch --depth 1 --branch feature/build/linux-x86-clang18-2
13+ git clone https://github.com/dotnet /runtime --single-branch --depth 1
1414 cd runtime
1515 sudo eng/install-native-dependencies.sh
1616 ./build.sh -c Release
17+
18+ - name : Upload artifacts
19+ run : |
20+ sudo apt install -y hub
21+
22+ # hub(1) requires release to be created inside a git repo
23+ git clone https://${{ secrets.CLONE_TOKEN }}:[email protected] /${{ github.repository }}.git repo 24+ cd repo
25+
26+ artifacts=" -a ../runtime/artifacts/packages/Debug/Shipping/dotnet-runtime-*.tar.gz"
27+ artifacts+=" -a ../runtime/artifacts/packages/Debug/Shipping/Microsoft.NETCore.App.Runtime.*-ci.nupkg"
28+ artifacts+=" -a ../runtime/artifacts/packages/Debug/Shipping/Microsoft.NETCore.App.Runtime.*-ci.symbols.nupkg"
29+ artifacts+=" -a ../runtime/artifacts/packages/Debug/Shipping/Microsoft.DotNet.ILCompiler.*-ci.nupkg"
30+ artifacts+=" -a ../runtime/artifacts/packages/Debug/Shipping/runtime.*.Microsoft.DotNet.ILCompiler.*-ci.nupkg"
31+ artifacts+=" -a ../runtime/artifacts/packages/Debug/Shipping/Microsoft.NETCore.App.Host.*-ci.nupkg"
32+ artifacts+=" -a ../runtime/artifacts/packages/Debug/Shipping/Microsoft.NETCore.App.Ref.*-ci.nupkg"
33+
34+ tag_name="linux_x64_$GITHUB_RUN_ID"
35+ hub release create $artifacts -m "$tag_name" "$tag_name"
36+ env :
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments