Skip to content

Commit

Permalink
[Actions] Updated .github/actions/nuget/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Oct 14, 2024
1 parent 0461d9c commit 2da76fe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/actions/nuget/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

### REMOVE FEEDS
- name: "Dotnet: Remove cache nuget feed (NugetCache) if it exists"
Expand All @@ -62,6 +63,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Remove cache nuget feed (nuget.org) if it exists"
shell: bash
Expand All @@ -80,6 +82,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Remove optional nuget feed (Additional1Cache) if it exists"
shell: bash
Expand All @@ -98,6 +101,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Remove optional nuget feed (Additional2Cache) if it exists"
shell: bash
Expand All @@ -116,6 +120,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Remove optional nuget feed (Additional1) if it exists"
shell: bash
Expand All @@ -134,6 +139,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Remove optional nuget feed (Additional2) if it exists"
shell: bash
Expand All @@ -152,6 +158,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

#### ADD FEEDS
- name: "Dotnet: Add optional nuget feed (NugetCache)"
Expand All @@ -172,6 +179,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Add nuget feed (nuget.org)"
shell: bash
Expand All @@ -190,6 +198,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Add optional nuget feed (Additional1Cache)"
if: inputs.NUGET_ADDITIONAL_RESTORE_FEED_RELEASE_CACHE != ''
Expand All @@ -209,6 +218,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Add optional nuget feed (Additional2Cache)"
if: inputs.NUGET_ADDITIONAL_RESTORE_FEED_PRERELEASE_CACHE != ''
Expand All @@ -228,6 +238,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Add optional nuget feed (Additional1)"
if: inputs.NUGET_ADDITIONAL_RESTORE_FEED_RELEASE != ''
Expand All @@ -247,6 +258,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Add optional nuget feed (Additional2)"
if: inputs.NUGET_ADDITIONAL_RESTORE_FEED_PRERELEASE != ''
Expand All @@ -266,6 +278,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Show sources (After)"
shell: bash
Expand All @@ -284,6 +297,7 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

- name: "Dotnet: Clear nuget cache"
shell: bash
Expand All @@ -300,3 +314,4 @@ runs:
DOTNET_TC_CallCountingDelayMs: "0"
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages

0 comments on commit 2da76fe

Please sign in to comment.