From ab76bca243846620a6faa822c0f3e737644eec93 Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Wed, 8 Dec 2021 19:15:59 +0000 Subject: [PATCH] [CI] Fork the github-release action to retry if upload fails --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f87e97b4..b85504c09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -442,9 +442,10 @@ jobs: mkdir swiftsymbols mv swiftsymbols-*/* swiftsymbols - name: Create release - uses: meeDamian/github-release@2.0 + uses: swift-project/github-release@2.0-curlargs id: create with: + curl_args: --retry 5 --retry-all-errors token: ${{ secrets.GITHUB_TOKEN }} tag: v${{ needs.preBuild.outputs.version }} commitish: ${{ github.sha }}