diff --git a/.github/workflows/dapr_cli.yaml b/.github/workflows/dapr_cli.yaml index 7d639d8b0..5fa5c1f1f 100644 --- a/.github/workflows/dapr_cli.yaml +++ b/.github/workflows/dapr_cli.yaml @@ -151,7 +151,7 @@ jobs: # Parse repository to get owner and repo names OWNER_NAME="${GITHUB_REPOSITORY%%/*}" REPO_NAME="${GITHUB_REPOSITORY#*/}" - export GITHUB_TOKEN=${{ secrets.ALL_TOKEN }} + export GITHUB_TOKEN=${{ secrets.DAPR_BOT_TOKEN }} echo "Uploading Dapr CLI Binaries to GitHub Release" github-release upload \ --owner $OWNER_NAME --repo $REPO_NAME \ @@ -172,11 +172,11 @@ jobs: - name: Update winget manifests shell: pwsh run: | - $url = "https://github.com/shivamkm07/cli/releases/download/v${{ env.REL_VERSION }}/dapr.msi" + $url = "https://github.com/dapr/cli/releases/download/v${{ env.REL_VERSION }}/dapr.msi" iwr https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe if("${{ env.REL_VERSION }}".Contains("-rc.")){ $PackageIdentifier="Dapr.CLI.Preview" } else{ $PackageIdentifier="Dapr.CLI" } - .\wingetcreate.exe update "$PackageIdentifier" --submit --urls "$url|x64" --version "${{ env.REL_VERSION }}" --token "${{ secrets.ALL_TOKEN }}" \ No newline at end of file + .\wingetcreate.exe update "$PackageIdentifier" --submit --urls "$url|x64" --version "${{ env.REL_VERSION }}" --token "${{ secrets.DAPR_BOT_TOKEN }}" \ No newline at end of file