Skip to content

Commit

Permalink
Upload artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 authored Jul 24, 2024
1 parent 2fd6b7a commit 0e515ed
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/freebsd-x64-runtime-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,18 @@ jobs:
# unzip /runtime/artifacts/packages/Debug/Shipping/runtime.freebsd-x64.Microsoft.DotNet.ILCompiler.9.0.0-dev.nupkg &&
# find . -name ilc -exec file {} \;'
# ./dotnet.sh build -v:diag -c Debug -p:TargetOS=freebsd -p:CrossBuild=true src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj'

- name: Upload artifacts
run: |
# hub(1) requires release to be created inside a git repo
git clone https://${{ secrets.CLONE_TOKEN }}:[email protected]/${{ github.repository }}.git repo
cd repo
tar czf jit-diffs.tar.gz -C /tmp jit-diffs
artifacts=" -a artifacts/packages/Debug/Shipping/dotnet-runtime-9.0.0-ci-freebsd-x64.tar.gz"
artifacts+=" -a artifacts/packages/Debug/Shipping/Microsoft.NETCore.App.Runtime.freebsd-x64.9.0.0-ci.symbols.nupkg"
artifacts+=" -a artifacts/packages/Debug/Shipping/Microsoft.DotNet.ILCompiler.9.0.0-ci.nupkg"
artifacts+=" -a artifacts/packages/Debug/Shipping/runtime.freebsd-x64.Microsoft.DotNet.ILCompiler.9.0.0-ci.nupkg"
tag_name="jit-diffs_$GITHUB_RUN_ID"
hub release create $artifacts -m "$tag_name" "$tag_name"

0 comments on commit 0e515ed

Please sign in to comment.