upload release

This commit is contained in:
Waylon Walker 2023-01-01 18:31:40 -06:00
parent 6b162c896d
commit db933545b9
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -62,3 +62,23 @@ jobs:
build_dir: site/markout
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
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: site/markout/creeper-linux-latest.zip
asset_name: creeper-linux-latest.zip
asset_content_type: application/zip
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
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: site/markout/creeper-windows-latest.zip
asset_name: creeper-windows-latest.zip
asset_content_type: application/zip