From 193a7db934cbdfa7adabc60184405e5ec66ca053 Mon Sep 17 00:00:00 2001 From: Tian Feng Date: Tue, 13 Feb 2024 14:33:42 -0800 Subject: [PATCH] chore: Add description for the asset ID retrieval step in the release process --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54624610..27ee77e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,6 +78,7 @@ jobs: needs: [create-release-draft] steps: - name: Find Matching Draft Tag + description: Fetches the `asset_id` of the uploaded bundle. A non-empty `asset_id` signals a successful upload, preventing duplicate uploads in retry attempts. id: prep run: | $res = Invoke-WebRequest -Uri "https://api.github.com/repos/${{ github.repository }}/releases" -Headers @{'Authorization' = "token ${{ github.token }}"} @@ -167,6 +168,7 @@ jobs: needs: [create-release-draft] steps: - name: Find Matching Draft Tag + description: Fetches the `asset_id` of the uploaded bundle. A non-empty `asset_id` signals a successful upload, preventing duplicate uploads in retry attempts. id: prep run: | VERSION=$(curl -s -H "Authorization: token ${{ github.token }}" \