zip "$RELEASE_LinuxAMD64".zip "$RELEASE_LinuxAMD64"
zip "$RELEASE_LinuxARM64".zip "$RELEASE_Linux386"
zip "$RELEASE_LinuxARM".zip "$RELEASE_LinuxARM"
zip "$RELEASE_OSX".zip "$RELEASE_OSX"
- name:Create Release
id:create_release
uses:monkeyWie/create-release@master
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
with:
tag_name:${{ github.ref }}
release_name:Release ${{ github.ref }}
draft:false
prerelease:true
- name:Upload Release - Windows 64bit
uses:actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
with:
upload_url:${{ steps.create_release.outputs.upload_url }}# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path:./${{ env.RELEASE_WIN64 }}.zip
asset_name:${{ env.RELEASE_WIN64 }}.zip
asset_content_type:application/zip
- name:Upload Release - Windows 32bit
uses:actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
with:
upload_url:${{ steps.create_release.outputs.upload_url }}# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path:./${{ env.RELEASE_WIN32 }}.zip
asset_name:${{ env.RELEASE_WIN32 }}.zip
asset_content_type:application/zip
- name:Upload Release - Linux amd64
uses:actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
with:
upload_url:${{ steps.create_release.outputs.upload_url }}# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path:./${{ env.RELEASE_LinuxAMD64 }}.zip
asset_name:${{ env.RELEASE_LinuxAMD64 }}.zip
asset_content_type:application/zip
- name:Upload Release - Linux 386
uses:actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
with:
upload_url:${{ steps.create_release.outputs.upload_url }}# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path:./${{ env.RELEASE_Linux386 }}.zip
asset_name:${{ env.RELEASE_Linux386 }}.zip
asset_content_type:application/zip
- name:Upload Release - Linux arm64
uses:actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
with:
upload_url:${{ steps.create_release.outputs.upload_url }}# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path:./${{ env.RELEASE_LinuxARM64 }}.zip
asset_name:${{ env.RELEASE_LinuxARM64 }}.zip
asset_content_type:application/zip
- name:Upload Release - Linux arm
uses:actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
with:
upload_url:${{ steps.create_release.outputs.upload_url }}# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path:./${{ env.RELEASE_LinuxARM }}.zip
asset_name:${{ env.RELEASE_LinuxARM }}.zip
asset_content_type:application/zip
- name:Upload Release - Darwin amd64
uses:actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
with:
upload_url:${{ steps.create_release.outputs.upload_url }}# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps