Skip to content

Commit

Permalink
Add step to zip binaries and update asset upload in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ndonathan committed Nov 3, 2024
1 parent ccdf3d2 commit 68b783e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,19 @@ jobs:
draft: false
prerelease: ${{ github.event_name == 'pull_request' }}

# Add step to zip binaries
- name: Zip Binaries
run: |
zip -r go_tasks_${{ runner.os }}.zip ./binaries
# Modify Upload Release Assets to upload the zip file
- name: Upload Release Assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./binaries
asset_path: ./go_tasks_${{ runner.os }}.zip
asset_name: go_tasks_${{ runner.os }}.zip
asset_content_type: application/zip

0 comments on commit 68b783e

Please sign in to comment.