fix: add upload release asset step
This commit is contained in:
parent
afe7f66623
commit
b021067888
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -20,11 +20,17 @@ jobs:
|
||||
run: ./build.bash
|
||||
|
||||
- name: Create release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Build Number\:${{ github.ref }}
|
||||
tag_name: v${{ github.run_number }}
|
||||
release_name: Build Number\:\ ${{ github.run_number }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
files: |
|
||||
dist/boot/boot.img
|
||||
- name: Upload release asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./dist/boot/boot.img
|
||||
asset_name: egos-v${{ github.run_number }}.img
|
||||
asset_content_type: application/octet-stream
|
||||
Loading…
x
Reference in New Issue
Block a user