Skip to content

Commit

Permalink
github: copy in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
benburkert committed Apr 14, 2024
1 parent fb6bcd4 commit b7248ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,13 @@ jobs:
with:
path: cmd/anchor/dist/windows
key: windows-${{ env.sha_short }}
- shell: bash
run: |
find ./cmd/dist
cp cmd/anchor/dist/windows/anchor.${{ env.RELEASE_VERSION }}.nupkg ./
- shell: pwsh
run: |
choco push --source https://push.chocolatey.org/ --api-key "$env:CHOCOLATEY_API_KEY" cmd\anchor\dist\windows\anchor.${{ env.RELEASE_VERSION }}.nupkg
choco push --source https://push.chocolatey.org/ --api-key "$env:CHOCOLATEY_API_KEY" anchor.${{ env.RELEASE_VERSION }}.nupkg
env:
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}

0 comments on commit b7248ec

Please sign in to comment.