Skip to content

Commit

Permalink
fix distribute workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
storybehind committed Sep 3, 2024
1 parent e7c9e94 commit 30fb79e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/distribute-zboxcli-choco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,9 @@ jobs:
- name: Push Chocolatey Package
run: |
choco push ${{ env.PACKAGE_ID }}.${{ env.APP_VERSION }}.nupkg --source https://push.chocolatey.org/ -k ${{ secrets.CHOCOLATEY_API_KEY }}
Set-Location -Path "${{ env.PACKAGE_DIR }}"
$location = Get-Location
Write-Host "Current Directory: $location"
$files = Get-ChildItem "${{ env.PACKAGE_DIR }}"
Write-Host "Files in Directory: $files"
choco push ${{ env.PACKAGE_ID }}.${{ env.APP_VERSION }}.nupkg --source https://push.chocolatey.org/ -k ${{ secrets.CHOCOLATEY_API_KEY }}

0 comments on commit 30fb79e

Please sign in to comment.