diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64f436a..64b849e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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