Modify release GH action
This commit is contained in:
13
.github/workflows/release.yaml
vendored
13
.github/workflows/release.yaml
vendored
@@ -1,7 +1,7 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -34,7 +34,12 @@ jobs:
|
|||||||
name: firmware
|
name: firmware
|
||||||
path: firmware*.bin
|
path: firmware*.bin
|
||||||
|
|
||||||
- name: 'Create Release'
|
- name: Upload binaries to release
|
||||||
uses: ncipollo/release-action@v1
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
artifacts: "firmware*.bin"
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
file: firmware.packed.bin
|
||||||
|
asset_name: egzumer_$tag.packed.bin
|
||||||
|
tag: ${{ github.ref }}
|
||||||
|
overwrite: true
|
||||||
|
release_name: release ${{ github.ref_name }}
|
||||||
|
Reference in New Issue
Block a user