Fix release workflow inputs and overwrite
This commit is contained in:
parent
aefaffbcbf
commit
da3e723a21
1 changed files with 6 additions and 1 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -5,6 +5,10 @@ on:
|
|||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: 'Tag to release (e.g. v0.1.6)'
|
||||
required: true
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
@ -55,9 +59,10 @@ jobs:
|
|||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: ${{ github.event.inputs.tag || github.ref_name }}
|
||||
files: |
|
||||
artifacts/macos/lview
|
||||
artifacts/linux/lview
|
||||
artifacts/linux/*.deb
|
||||
generate_release_notes: true
|
||||
allowUpdates: true
|
||||
overwrite_files: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue