[CI] Fork the github-release action to retry if upload fails

This commit is contained in:
Mat Sutcliffe
2021-12-08 19:15:59 +00:00
parent 65b85a1606
commit ab76bca243

View File

@@ -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 }}