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:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: 'Tag to release (e.g. v0.1.6)'
|
||||||
|
required: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
@ -55,9 +59,10 @@ jobs:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
tag_name: ${{ github.event.inputs.tag || github.ref_name }}
|
||||||
files: |
|
files: |
|
||||||
artifacts/macos/lview
|
artifacts/macos/lview
|
||||||
artifacts/linux/lview
|
artifacts/linux/lview
|
||||||
artifacts/linux/*.deb
|
artifacts/linux/*.deb
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
allowUpdates: true
|
overwrite_files: true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue