Properly name tarball
This commit is contained in:
parent
3ff6562e3f
commit
473d6d49d5
1 changed files with 6 additions and 6 deletions
|
@ -24,13 +24,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sed 's|<Exec Command="tar.*|<Exec Command="tar -cf $(TarballFilePath) -C $(TarballDir)/.. $([MSBuild]::MakeRelative($([System.IO.Path]::GetDirectoryName($(TarballDir))), $(TarballDir)))" />|' -i src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets
|
sed 's|<Exec Command="tar.*|<Exec Command="tar -cf $(TarballFilePath) -C $(TarballDir)/.. $([MSBuild]::MakeRelative($([System.IO.Path]::GetDirectoryName($(TarballDir))), $(TarballDir)))" />|' -i src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets
|
||||||
export _cli_root=/usr/lib/dotnet
|
export _cli_root=/usr/lib/dotnet
|
||||||
echo "Building dotnet-$CI_COMMIT_TAG tarball"
|
echo "Building dotnet-${{ inputs.ref_name }} tarball"
|
||||||
_InitializeDotNetCli="$_cli_root" DOTNET_INSTALL_DIR="$_cli_root" DotNetBuildFromSource=true ./build.sh /p:ArcadeBuildTarball=true /p:EnableSourceLink=false /p:CheckEolTargetFramework=false /p:TarballDir=$(pwd)/dotnet-$CI_COMMIT_TAG /p:TarballFilePath=$(pwd)/dotnet-$CI_COMMIT_TAG.tar
|
_InitializeDotNetCli="$_cli_root" DOTNET_INSTALL_DIR="$_cli_root" DotNetBuildFromSource=true ./build.sh /p:ArcadeBuildTarball=true /p:EnableSourceLink=false /p:CheckEolTargetFramework=false /p:TarballDir=$(pwd)/dotnet-${{ inputs.ref_name }} /p:TarballFilePath=$(pwd)/dotnet-${{ inputs.ref_name }}.tar
|
||||||
echo "Compressing dotnet-$CI_COMMIT_TAG.tar.xz"
|
echo "Compressing dotnet-${{ inputs.ref_name }}.tar.xz"
|
||||||
xz -T0 -9 -vv -e -c > ./dotnet-$CI_COMMIT_TAG.tar.xz < ./dotnet-$CI_COMMIT_TAG.tar
|
xz -T0 -9 -vv -e -c > ./dotnet-${{ inputs.ref_name }}.tar.xz < ./dotnet-${{ inputs.ref_name }}.tar
|
||||||
echo "Generating sha512sum and sha256sum"
|
echo "Generating sha512sum and sha256sum"
|
||||||
sha512sum dotnet-$CI_COMMIT_TAG.tar.xz > dotnet-$CI_COMMIT_TAG.tar.xz.sha512sum
|
sha512sum dotnet-${{ inputs.ref_name }}.tar.xz > dotnet-${{ inputs.ref_name }}.tar.xz.sha512sum
|
||||||
sha256sum dotnet-$CI_COMMIT_TAG.tar.xz > dotnet-$CI_COMMIT_TAG.tar.xz.sha256sum
|
sha256sum dotnet-${{ inputs.ref_name }}.tar.xz > dotnet-${{ inputs.ref_name }}.tar.xz.sha256sum
|
||||||
- name: Package upload
|
- name: Package upload
|
||||||
uses: forgejo/upload-artifact@v3
|
uses: forgejo/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue