Skip to content

Commit 1072684

Browse files
committed
chore: Default only one attempt
1 parent 59b1115 commit 1072684

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cicd-dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ on:
5151
retry-max-attempts:
5252
required: false
5353
type: number
54-
default: 3
54+
default: 1
5555
retry-timeout:
5656
required: false
5757
type: number

.github/workflows/step-dotnet-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
uses: nick-fields/retry@v3.0.0
127127
with:
128128
timeout_minutes: ${{ inputs.retry-timeout || 15 }}
129-
max_attempts: ${{ inputs.retry-max-attempts || 3 }}
129+
max_attempts: ${{ inputs.retry-max-attempts || 1 }}
130130
shell: pwsh
131131
command: |
132132
dotnet test ${{ inputs.solution }} -c Release -v ${{ inputs.dotnet-logging }} --no-build --no-restore --collect:"XPlat Code Coverage;Format=cobertura,opencover" /p:GeneratePackageOnBuild=false -- --coverage --coverage-output-format cobertura

0 commit comments

Comments
 (0)