Skip to content

Commit

Permalink
automatic build release first attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
mainak55512 committed Oct 14, 2024
1 parent fa11bcc commit 8f531bb
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,24 @@ jobs:
- Second Change
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
- name: Upload Release Asset Linux
id: upload-release-asset-linux
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./rjq_linux_amd64.tar.gz
asset_name: rjq_linux_amd64.tar.gz
asset_content_type: application/tar.gz
- upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./rjq_win_x86_64.zip
asset_name: rjq_win_x86_64.zip
asset_content_type: application/zip
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./rjq_linux_amd64.tar.gz
asset_name: rjq_linux_amd64.tar.gz
asset_content_type: application/x-tar
- name: Upload Release Asset Windows
id: upload-release-asset-windows
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./rjq_win_x86_64.zip
asset_name: rjq_win_x86_64.zip
asset_content_type: application/zip

0 comments on commit 8f531bb

Please sign in to comment.