Skip to content

Commit bac01f5

Browse files
authored
Update linux-x64-runtime-build.yml
1 parent 873c2ec commit bac01f5

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/linux-x64-runtime-build.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,28 @@ jobs:
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 }}

0 commit comments

Comments
 (0)