Skip to content

Commit

Permalink
Test5
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Philippe Durot committed Nov 19, 2024
1 parent 188bfae commit d78ec58
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/actions/build-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ inputs:
runs:
using: "composite"
steps:
- name: Build for Linux (${{ inputs.build-configuration }})
shell: bash
run: ./build.sh -c ${{ inputs.build-configuration }} /p:VersionSuffix=${{ inputs.version-patch }} /p:StabilizePackageVersion=false /p:OfficialBuildId=20201010.1 /p:NativeOptimizationDataSupported=false /p:SkipArchivesBuild=false
- name : Download dotnet install scripts
shell: bash
run: wget https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh
Expand All @@ -30,19 +33,10 @@ runs:
mkdir -p artifacts/packages/${{ inputs.build-configuration }}/Shipping/aspnetcore-runtime
./dotnet-install.sh --runtime aspnetcore --version ${{ inputs.version-runtime }} --os linux --install-dir artifacts/packages/${{ inputs.build-configuration }}/Shipping/aspnetcore-runtime
chmod u+x artifacts/packages/${{ inputs.build-configuration }}/Shipping/aspnetcore-runtime/dotnet
ls -l -R artifacts/packages/${{ inputs.build-configuration }}/Shipping/aspnetcore-runtime
DOTNET_DIR=$(pwd artifacts/packages/${{ inputs.build-configuration }}/Shipping/aspnetcore-runtime)
echo $DOTNET_DIR
$DOTNET_DIR/dotnet
exit 1
- name: Build for Linux (${{ inputs.build-configuration }})
shell: bash
run: ./build.sh -c ${{ inputs.build-configuration }} /p:VersionSuffix=${{ inputs.version-patch }} /p:StabilizePackageVersion=false /p:OfficialBuildId=20201010.1 /p:NativeOptimizationDataSupported=false /p:SkipArchivesBuild=false

- name: Extract generated runtime artifact, add crossgen, symbols, and AspNetCore runtime
shell: bash
run: |
DOTNET_DIR=$(pwd artifacts/packages/${{ inputs.build-configuration }}/Shipping/aspnetcore-runtime)
DOTNET_DIR=$(cd artifacts/packages/${{ inputs.build-configuration }}/Shipping/aspnetcore-runtime ; pwd)
FULL_VERSION=${{ inputs.version-runtime }}-${{ inputs.version-patch }}
cd artifacts/packages/${{ inputs.build-configuration }}/Shipping
mkdir -p dotnet-runtime
Expand Down

0 comments on commit d78ec58

Please sign in to comment.