From 72a71caf15577ffe09f696ea03fe5b5f4bc4d82c Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Tue, 22 Oct 2024 16:49:28 +0000 Subject: [PATCH] [Actions] Updated .github/actions/sleet/action.yml --- .github/actions/sleet/action.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/actions/sleet/action.yml b/.github/actions/sleet/action.yml index 2a249f3f..c5926de2 100644 --- a/.github/actions/sleet/action.yml +++ b/.github/actions/sleet/action.yml @@ -20,6 +20,23 @@ runs: contents: ${{ inputs.SLEET_CONFIG }} write_mode: overwrite + - name: "Sleet: Publish Packages to Nuget (Using Sleet)" + shell: bash + run: dotnet tool restore + env: + DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" + DOTNET_INSTALL_DIR: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" + DOTNET_MULTILEVEL_LOOKUP: "false" + DOTNET_NOLOGO: "true" + DOTNET_PRINT_TELEMETRY_MESSAGE: "false" + DOTNET_JitCollect64BitCounts: "1" + DOTNET_ReadyToRun: "0" + DOTNET_TC_QuickJitForLoops: "1" + DOTNET_TC_CallCountingDelayMs: "0" + DOTNET_TieredPGO: "1" + MSBUILDTERMINALLOGGER: "auto" + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + - name: "Sleet: Publish Packages to Nuget (Using Sleet)" shell: bash run: dotnet sleet push "${{github.workspace}}/dist" --config sleet.json --source ${{inputs.SLEET_FEED}}