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 edcd9f5
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${{ github.ref }}.packed.bin
tag: ${{ github.ref }}
overwrite: true
release_name: release ${{ github.ref }}

0 comments on commit edcd9f5

Please sign in to comment.