mirror of https://github.com/dapr/cli.git
				
				
				
			fix few issue (#1231)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
This commit is contained in:
		
							parent
							
								
									1cec708d88
								
							
						
					
					
						commit
						63f3fa0e29
					
				| 
						 | 
				
			
			@ -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 }}"
 | 
			
		||||
          .\wingetcreate.exe update "$PackageIdentifier" --submit --urls "$url|x64" --version "${{ env.REL_VERSION }}" --token "${{ secrets.DAPR_BOT_TOKEN }}"
 | 
			
		||||
		Loading…
	
		Reference in New Issue