Ensure uniqueness across re-runs

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
ItalyPaleAle 2022-12-15 14:21:38 -08:00
parent 69084f2d9f
commit c1ba6d38c6
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ jobs:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: |
CloudflareWorkerName="daprconfkv${{ github.run_id }}"
CloudflareWorkerName="daprconfkv${{ github.run_id }}${{ github.run_attempt }}"
CloudflareKVNamespaceID=$( curl -s -X POST "https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/storage/kv/namespaces" \
-H "Authorization: Bearer ${CLOUDFLARE_API_TOKEN}" \
-H "Content-Type: application/json" \