Skip to content

Commit 7b22ff4

Browse files
committed
Added 10 seconds time-out after the first NuGet package push
1 parent c63746d commit 7b22ff4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish_release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
env:
99
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
1010
DOTNET_NOLOGO: true
11+
SLEEP_DURATION: 10
1112

1213
jobs:
1314
publish:
@@ -62,6 +63,8 @@ jobs:
6263
- name: Publish FSharp.Data.GraphQL.Shared project to NuGet
6364
run: |
6465
dotnet nuget push nuget/FSharp.Data.GraphQL.Shared.${{env.VERSION}}.{nupkg,snupkg} -s "nuget.org" -k ${{secrets.NUGET_SECRET}} --skip-duplicate
66+
# wait for the package to be available
67+
sleep ${{env.SLEEP_DURATION}}
6568
6669
- name: Pack FSharp.Data.GraphQL.Client project
6770
run: |

0 commit comments

Comments
 (0)