Skip to content

Commit

Permalink
Modify release GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
egzumer committed Nov 8, 2023
1 parent 7916d79 commit d7b6cdf
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
tags:
- '*'
- 'v*'

jobs:
build:
Expand Down Expand Up @@ -34,7 +34,12 @@ jobs:
name: firmware
path: firmware*.bin

- name: 'Create Release'
uses: ncipollo/release-action@v1
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
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 }}

0 comments on commit d7b6cdf

Please sign in to comment.